| library; |
| // |
| // 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() { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/issue38253b.dart:7:5: Warning: Must explicitly return a value from a non-void function. |
| // return; |
| // ^ |
| // |
| // pkg/front_end/testcases/general/issue38253b.dart:11:5: Warning: Must explicitly return a value from a non-void function. |
| // return; |
| // ^ |
| // |
| import self as self; |
| |
| static field () →* Null a = () → Null { |
| function f1() → invalid-type { |
| return null; |
| } |
| function f2() → invalid-type { |
| return null; |
| } |
| }; |
| static method main() → dynamic {} |