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

Unified Diff: pkg/front_end/testcases/rasta/issue_000039.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/issue_000039.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/issue_000039.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000039.dart.direct.expect
index 1df3f50483fa88ca0d9b296ad154023b69a4649e..116a7218bf634f14e6b3afddfb4ef40a190c8327 100644
--- a/pkg/front_end/testcases/rasta/issue_000039.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/issue_000039.dart.direct.expect
@@ -1,5 +1,13 @@
library;
import self as self;
+import "dart:core" as core;
-static method main() → dynamic
- throw "pkg/front_end/testcases/rasta/issue_000039.dart:10:3: Error: Expected an expression, but got '}'.\n }\n ^";
+class A extends core::Object {
+ field dynamic a;
+ constructor •() → dynamic
+ : invalid-initializer;
+}
+class B extends self::A {
+ constructor •() → self::B
+ : super self::A::•();
+}

Powered by Google App Engine
This is Rietveld 408576698