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

Side by Side 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 unified diff | Download patch
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class C extends core::Object { 5 class C extends core::Object {
6 const constructor •() → void 6 const constructor •() → void
7 : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new c ore::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_constructor_redirec tion.dart:6:20: Error: Method not found: 'x'.\n const C() : this.x(1);\n ^")) 7 : invalid-initializer;
8 ;
9 const constructor x() → void 8 const constructor x() → void
10 : super core::Object::•() 9 : super core::Object::•()
11 ; 10 ;
12 } 11 }
13 static method main() → dynamic { 12 static method main() → dynamic {
14 new self::C::•(); 13 new self::C::•();
15 const self::C::•(); 14 const self::C::•();
16 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698