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

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

Issue 2949753002: Print static types of conditional expressions. (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/malformed_const_constructor.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect
index e2a6950db435d8ac4a3eb9aa96b7c40b7cbc7645..d6dd375d352dc822e71f71fccb504dee83885d96 100644
--- a/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect
@@ -1,12 +1,5 @@
library;
import self as self;
-import "dart:core" as core;
-class A extends core::Object {
- const constructor •() → dynamic
- : invalid-initializer;
-}
-static method main() → dynamic {
- const self::A::•();
- new self::A::•();
-}
+static method main() → dynamic
+ throw "pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Error: Expected a function body, but got ':'.\n : x = 'foo'\n ^";

Powered by Google App Engine
This is Rietveld 408576698