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

Unified Diff: pkg/front_end/testcases/rasta/issue_000046.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_000046.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/issue_000046.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000046.dart.direct.expect
index 00d5a39e27b0de98bb86ed30344efb234cc4af11..2910ee2ca9e748cef3776b385f926f6fe7c02bef 100644
--- a/pkg/front_end/testcases/rasta/issue_000046.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/issue_000046.dart.direct.expect
@@ -1,5 +1,9 @@
library;
import self as self;
+import "dart:core" as core;
-static method main() → dynamic
- throw "pkg/front_end/testcases/rasta/issue_000046.dart:6:19: Error: Expected ';' before this.\n C c = new Object)();\n ^";
+class C extends core::Object {
+ field invalid-type c;
+ constructor •() → self::C
+ : self::C::c = invalid-expression, super core::Object::•();
+}

Powered by Google App Engine
This is Rietveld 408576698