Index: pkg/front_end/testcases/rasta/typedef.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/typedef.dart.direct.expect b/pkg/front_end/testcases/rasta/typedef.dart.direct.expect |
index 32d4fa280cb55c210c561c9a374c3adf5b8cf133..d674fe4cd10dc5d30663a4128dc6ea43066977db 100644 |
--- a/pkg/front_end/testcases/rasta/typedef.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/typedef.dart.direct.expect |
@@ -5,7 +5,7 @@ import "dart:core" as core; |
typedef Foo = () → void; |
static method main() → dynamic { |
core::print(() → void); |
- let final dynamic #t1 = null in invalid-expression; |
- () → void; |
+ throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: false), <dynamic, dynamic>{}, null); |
+ let final dynamic #t1 = () → void in #t1.==(null) ? throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: false), <dynamic, dynamic>{}, null) : null; |
() → void.call(); |
} |