blob: 9c66143e2f76aa1468375d99fe05ed74cabe6365 [file] [log] [blame]
library;
import self as self;
static method f() dynamic sync* {
invalid-expression "pkg/front_end/testcases/regress/issue_29983.dart:7:3: Error: 'sync*' and 'async*' can't return a value.
return missing;
^";
}
static method g() dynamic sync*
invalid-expression "pkg/front_end/testcases/regress/issue_29983.dart:11:14: Error: 'sync*' and 'async*' can't return a value.
g() sync* => dummy;
^";
static method h() dynamic sync* {
(() dynamic => "return").call();
}
static method main() dynamic {}