OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
| 3 import "package:expect/expect.dart" as exp; |
| 4 import "dart:core" as core; |
3 | 5 |
4 static method main() → dynamic | 6 static method test() → dynamic |
5 throw "pkg/front_end/testcases/rasta/parser_error.dart:10:7: Error: Expected a
n expression, but got '?'.\n if (?b) return b; /// 01: compile-time error\n
^"; | 7 invalid-statement; |
| 8 static method main() → dynamic { |
| 9 exp::Expect::equals(6, throw core::_genericNoSuchMethod(null, #test, <dynamic>
[1], <dynamic, dynamic>{#b: 2, #c: 3}, <dynamic>[])); |
| 10 } |
OLD | NEW |