Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: test/kernel/regression/parser_error.dart.txt

Issue 2117513002: More extensive error handling for 'unresolved' cases. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Clean up Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/kernel/regression/parser_error.dart.txt
diff --git a/test/kernel/regression/parser_error.dart.txt b/test/kernel/regression/parser_error.dart.txt
index 48458f9a4d52cae8c6959297725af6d85c1e6161..12c517ddc0886d642eb4240eec52365880ac1797 100644
--- a/test/kernel/regression/parser_error.dart.txt
+++ b/test/kernel/regression/parser_error.dart.txt
@@ -1,9 +1,10 @@
library;
import self as self;
import "package:expect/expect.dart" as exp;
+import "dart:core" as core;
static method test() → dynamic
invalid-statement;
static method main() → dynamic {
- exp::Expect::equals(6, invalid-expression);
+ exp::Expect::equals(6, throw core::_genericNoSuchMethod(null, #test, <dynamic>[1], <dynamic, dynamic>{#b: 2, #c: 3}, <dynamic>[]));
}

Powered by Google App Engine
This is Rietveld 408576698