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

Unified Diff: pkg/front_end/testcases/rasta/bad_constructor_redirection.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/bad_constructor_redirection.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect
index 2ba15c715628d595b1179ea49dfaef1516f6fcd3..76f08943dcce05bac1514d905aefea73efeece7c 100644
--- a/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect
@@ -4,8 +4,7 @@ import "dart:core" as core;
class C extends core::Object {
const constructor •() → void
- : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_constructor_redirection.dart:6:20: Error: Method not found: 'x'.\n const C() : this.x(1);\n ^"))
- ;
+ : invalid-initializer;
const constructor x() → void
: super core::Object::•()
;

Powered by Google App Engine
This is Rietveld 408576698