blob: 4d6ea6797f1a7a69e0cb087f870997f497cb360d [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 {}