blob: 3cf4a03b820fb26e431ea8a07f0f512a6a7ad599 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
static method f() dynamic sync* {
const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/regress/issue_29983.dart:7:3: Error: 'sync*' and 'async*' can't return a value.\n return missing;\n ^"));
}
static method g() dynamic sync*
const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/regress/issue_29983.dart:11:14: Error: 'sync*' and 'async*' can't return a value.\ng() sync* => dummy;\n ^"));
static method h() dynamic sync* {
(() dynamic => "return").call();
}
static method main() dynamic {}