| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/rasta/typedef.dart:9:3: Warning: Setter not found: 'Foo'. |
| // Foo = null; |
| // ^^^ |
| // |
| // pkg/front_end/testcases/rasta/typedef.dart:10:3: Warning: Setter not found: 'Foo'. |
| // Foo ??= null; |
| // ^^^ |
| // |
| // pkg/front_end/testcases/rasta/typedef.dart:11:3: Warning: Method not found: 'Foo'. |
| // Foo(); |
| // ^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| typedef Foo = () →* void; |
| static method main() → dynamic { |
| core::print(() →* void); |
| throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Foo, 34, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))); |
| let final dynamic #t1 = () →* void in #t1.==(null) ? throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Foo, 34, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))) : null; |
| throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Foo, 32, const <core::Type*>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))); |
| } |