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..37303fc891ac85f7badb5793cf5609a21524c2b7 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) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: false), <dynamic, dynamic>{}, null) : null; |
() → void.call(); |
} |