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

Unified Diff: pkg/front_end/testcases/rasta/bad_setter_initializer.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_setter_initializer.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_setter_initializer.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_setter_initializer.dart.direct.expect
index 8a3cd35a56803ac44474bad8350a81f60bad90a5..1563a8395da7832a0a90aba533a63a56362bfd46 100644
--- a/pkg/front_end/testcases/rasta/bad_setter_initializer.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_setter_initializer.dart.direct.expect
@@ -4,7 +4,7 @@ import "dart:core" as core;
class C extends core::Object {
constructor •() → void
- : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_setter_initializer.dart:6:15: Error: 'field' isn't an instance field of this class.\n C() : field = null;\n ^"))
+ : final dynamic #t1 = throw new core::_CompileTimeError::•("pkg/front_end/test/fasta/rasta/bad_setter_initializer.dart:6:9: \u0027[31mError: Can't use field here.\u0027[0m"), super core::Object::•()
;
set field(dynamic value) → dynamic {}
}

Powered by Google App Engine
This is Rietveld 408576698