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

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

Issue 2059733002: More bad for-in loop variables. (Closed) Base URL: git@github.com:dart-lang/rasta.git@parser_crash
Patch Set: 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
« no previous file with comments | « test/kernel/regression/unresolved_for_in.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_for_in.dart.txt
diff --git a/test/kernel/regression/unresolved_for_in.dart.txt b/test/kernel/regression/unresolved_for_in.dart.txt
index da48b1d28abcff519dd7b514ef876629d4e900ff..60179bb310c20e977d40c998f992d1e5eee4a72e 100644
--- a/test/kernel/regression/unresolved_for_in.dart.txt
+++ b/test/kernel/regression/unresolved_for_in.dart.txt
@@ -10,5 +10,44 @@ class Fisk extends core::Object {
this.key = #t1;
core::print(this.key);
}
+ for(final #t2 in x) {
+ let final #t3 = #t2 in invalid-expression;
+ core::print(self::Fisk);
+ }
+ for(final #t4 in x) {
+ let final #t5 = #t4 in invalid-expression;
+ core::print(throw "Kernel IR not yet implemented for 'handleError'.");
+ }
+ for(final #t6 in x) {
+ let final #t7 = #t6 in invalid-expression;
+ core::print(throw "Kernel IR not yet implemented for 'TypedefTypeLiteralGet'.");
+ }
+ for(final #t8 in x) {
+ let final #t9 = #t8 in invalid-expression;
+ core::print(this.key);
+ }
+ }
+}
+static method main(dynamic arguments) → dynamic {
+ new self::Fisk::•();
+ for(final #t10 in arguments) {
+ let final #t11 = #t10 in invalid-expression;
+ core::print(invalid-expression);
+ }
+ for(final #t12 in arguments) {
+ let final #t13 = #t12 in invalid-expression;
+ core::print(self::Fisk);
+ }
+ for(final #t14 in arguments) {
+ let final #t15 = #t14 in invalid-expression;
+ core::print(throw "Kernel IR not yet implemented for 'handleError'.");
+ }
+ for(final #t16 in arguments) {
+ let final #t17 = #t16 in invalid-expression;
+ core::print(throw "Kernel IR not yet implemented for 'TypedefTypeLiteralGet'.");
+ }
+ for(final #t18 in arguments) {
+ let final #t19 = #t18 in invalid-expression;
+ core::print(invalid-expression);
}
}
« no previous file with comments | « test/kernel/regression/unresolved_for_in.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698