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

Side by Side Diff: pkg/front_end/testcases/rasta/issue_000034.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 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 = throw new core::_CompileTimeError::•("pkg/front_end/te st/fasta/rasta/issue_000034.dart:6:15: \u0027[31mError: Can't use x here.\u0027[ 0m"), super core::Object::•() 7 : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new c ore::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000034.dart:6:20: Error: Can't use x here.\n const C() : this.x;\n ^"))
8 ; 8 ;
9 } 9 }
10 static method main() → dynamic { 10 static method main() → dynamic {
11 const self::C::•(); 11 const self::C::•();
12 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698