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

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

Issue 2207473003: Avoid crashing on synthetic elements. (Closed) Base URL: git@github.com:dart-lang/rasta.git@dill
Patch Set: Created 4 years, 5 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
« lib/unresolved.dart ('K') | « test/kernel/regression/unresolved_recovery.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/unresolved_recovery.dart.txt
diff --git a/test/kernel/regression/unresolved_recovery.dart.txt b/test/kernel/regression/unresolved_recovery.dart.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90e7db8d4784866f79f8010ec689b90cb1cf04
--- /dev/null
+++ b/test/kernel/regression/unresolved_recovery.dart.txt
@@ -0,0 +1,19 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class E extends core::Object {
+ constructor •() → self::E
+ : super core::Object::•();
+ method foo() → dynamic {
+ let final dynamic #t1 = 4 in throw core::_unresolvedSuperMethodError@dart.core(this, #[]=, <dynamic>[#t1, 42], <dynamic, dynamic>{}, null);
+ let final dynamic #t2 = 4 in throw core::_unresolvedSuperMethodError@dart.core(this, #[]=, <dynamic>[#t2, (throw core::_unresolvedSuperMethodError@dart.core(this, #[], <dynamic>[#t2], <dynamic, dynamic>{}, null)).+(5)], <dynamic, dynamic>{}, null);
+ return let final dynamic #t3 = 2 in throw core::_unresolvedSuperMethodError@dart.core(this, #[], <dynamic>[#t3], <dynamic, dynamic>{}, null);
+ }
+}
+static method beforeTestMissingTry() → dynamic {
+ throw core::_genericNoSuchMethod@dart.core(null, #testMissingTry, <dynamic>[], <dynamic, dynamic>{}, null);
asgerf 2016/08/02 09:00:16 Not a direct issue for this CL, but this really sh
ahe 2016/08/02 12:59:35 In principle, yes, but it's complicated and someth
+}
+static method testMissingTry() → dynamic
+ invalid-statement;
+static method main() → dynamic {}
« lib/unresolved.dart ('K') | « test/kernel/regression/unresolved_recovery.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698