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

Unified Diff: pkg/front_end/testcases/rasta/bad_default_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/bad_default_constructor.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect
index 9ef3d02e3d8a8df03fd5d444cafb31c2c4986ce9..6e94ed432de5322da54219170d33963dc6a95405 100644
--- a/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect
@@ -1,17 +1,5 @@
library;
import self as self;
-import "dart:core" as core;
-class A extends core::Object {
- constructor •(dynamic x) → dynamic
- : super core::Object::•()
- ;
-}
-class B extends self::A {
- constructor •() → self::B
- : invalid-initializer;
-}
-static method main() → dynamic {
- new self::B::•();
- invalid-expression;
-}
+static method main() → dynamic
+ throw "pkg/front_end/testcases/rasta/bad_default_constructor.dart: Error: A has no constructor that takes no arguments.";

Powered by Google App Engine
This is Rietveld 408576698