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

Side by Side Diff: testcases/strong-mode/escape.baseline.txt

Issue 2465893002: Add strong mode type checking pass. (Closed)
Patch Set: Merge with master and remove visitBlockExpression Created 4 years, 1 month 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
« no previous file with comments | « testcases/strong-mode/call.baseline.txt ('k') | testcases/strong-mode/optional.baseline.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // dynamic is not a subtype of dart.core::bool (escape.dart:25:2)
2 // dynamic is not a subtype of dart.core::bool (escape.dart:26:2)
1 library; 3 library;
2 import self as self; 4 import self as self;
3 import "dart:core" as core; 5 import "dart:core" as core;
4 6
5 class A extends core::Object { 7 class A extends core::Object {
6 field dynamic field = null; 8 field dynamic field = null;
7 constructor •() → void 9 constructor •() → void
8 : super core::Object::•() 10 : super core::Object::•()
9 ; 11 ;
10 } 12 }
(...skipping 30 matching lines...) Expand all
41 x.field = 45; 43 x.field = 45;
42 } 44 }
43 } 45 }
44 static method main() → dynamic { 46 static method main() → dynamic {
45 self::X object = new self::X::•(); 47 self::X object = new self::X::•();
46 self::useAsA(new self::A::•()); 48 self::useAsA(new self::A::•());
47 self::useAsA(object); 49 self::useAsA(object);
48 self::useAsB(new self::B::•()); 50 self::useAsB(new self::B::•());
49 self::useAsB(object); 51 self::useAsB(object);
50 } 52 }
OLDNEW
« no previous file with comments | « testcases/strong-mode/call.baseline.txt ('k') | testcases/strong-mode/optional.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698