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

Unified Diff: pkg/front_end/testcases/rasta/bad_implicit_super_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_implicit_super_constructor.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart.direct.expect
index 8601a5719d2eb1cff9eb48422d5a4578b35f3dcf..e11ae083ed96fae6b40565f40c28782b8c7b37d4 100644
--- a/pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart.direct.expect
@@ -3,13 +3,13 @@ import self as self;
import "dart:core" as core;
class A extends core::Object {
- constructor •(dynamic x) → dynamic
- : invalid-initializer, super core::Object::•()
+ constructor •(dynamic x) → void
+ : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart:6:10: Error: 'x' isn't an instance field of this class.\n A(this.x);\n ^"))
;
}
class B extends self::A {
- const constructor •() → dynamic
- : invalid-initializer
+ const constructor •() → void
+ : final dynamic #t2 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_implicit_super_constructor.dart:10:9: Error: The unnamed constructor in 'A' requires arguments.\n const B();\n ^"))
;
}
static method main() → dynamic {

Powered by Google App Engine
This is Rietveld 408576698