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

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

Issue 2465893002: Add strong mode type checking pass. (Closed)
Patch Set: Update test expectations 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 | « test/typecheck.dart ('k') | testcases/strong-mode/call.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::int (DeltaBlue.dart:126:17)
2 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:133:15)
3 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:138:36)
4 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:139:15)
asgerf 2016/11/01 14:29:08 These are due to implicit casts not being inserted
1 library; 5 library;
2 import self as self; 6 import self as self;
3 import "dart:core" as core; 7 import "dart:core" as core;
4 8
5 class DeltaBlue extends core::Object { 9 class DeltaBlue extends core::Object {
6 constructor •() → void 10 constructor •() → void
7 : super core::Object::•() 11 : super core::Object::•()
8 ; 12 ;
9 method run() → void { 13 method run() → void {
10 self::chainTest(100); 14 self::chainTest(100);
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 } 445 }
442 static method change(self::Variable v, core::int newValue) → void { 446 static method change(self::Variable v, core::int newValue) → void {
443 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED); 447 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED);
444 self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<s elf::EditConstraint>[edit]); 448 self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<s elf::EditConstraint>[edit]);
445 for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) { 449 for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) {
446 v.{self::Variable::value} = newValue; 450 v.{self::Variable::value} = newValue;
447 plan.{self::Plan::execute}(); 451 plan.{self::Plan::execute}();
448 } 452 }
449 edit.{self::Constraint::destroyConstraint}(); 453 edit.{self::Constraint::destroyConstraint}();
450 } 454 }
OLDNEW
« no previous file with comments | « test/typecheck.dart ('k') | testcases/strong-mode/call.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698