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

Unified Diff: pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (Closed)
Patch Set: Created 3 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: pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect b/pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect
index 744f2442b0c815258fff58abddaca00b972830ea..4e64945130213de9d9c899f5619632553a24d03d 100644
--- a/pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/unresolved_recovery.dart.direct.expect
@@ -1,5 +1,19 @@
library;
import self as self;
+import "dart:core" as core;
-static method main() → dynamic
- throw "pkg/front_end/testcases/rasta/unresolved_recovery.dart:20:6: Error: Expected ';' before this.\n on Exception catch (e) { }\n ^";
+class E extends core::Object {
+ constructor •() → self::E
+ : super core::Object::•();
+ method foo() → dynamic {
+ super.[]=(4, 42);
+ let final dynamic #t1 = 4 in super.[]=(#t1, super.[](#t1).+(5));
+ return super.[](2);
+ }
+}
+static method beforeTestMissingTry() → dynamic {
+ throw core::_genericNoSuchMethod(null, #testMissingTry, <dynamic>[], <dynamic, dynamic>{}, null);
+}
+static method testMissingTry() → dynamic
+ invalid-statement;
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698