blob: 413a243e938cfbb7346b9f7c4260ee7665d2a182 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue38253b.dart:6:3: Error: 'g' isn't a type.
// g f1() {
// ^
//
// pkg/front_end/testcases/general/issue38253b.dart:10:3: Error: 'g' isn't a type.
// g f2() async {
// ^
//
// pkg/front_end/testcases/general/issue38253b.dart:7:5: Error: A value must be explicitly returned from a non-void function.
// return;
// ^
//
// pkg/front_end/testcases/general/issue38253b.dart:11:5: Error: A value must be explicitly returned from a non-void async function.
// return;
// ^
//
import self as self;
static field () Null a = () Null {
function f1() invalid-type {
return let final Never #t1 = invalid-expression "pkg/front_end/testcases/general/issue38253b.dart:7:5: Error: A value must be explicitly returned from a non-void function.
return;
^" in null;
}
function f2() → invalid-type async {
return let final Never #t2 = invalid-expression "pkg/front_end/testcases/general/issue38253b.dart:11:5: Error: A value must be explicitly returned from a non-void async function.
return;
^" in null;
}
};
static method main() → dynamic {}