OLD | NEW |
1 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:126:17) | 1 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:126:18) |
2 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:133:15) | 2 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:133:16) |
3 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:138:36) | 3 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:138:37) |
4 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:139:15) | 4 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:139:16) |
5 library; | 5 library; |
6 import self as self; | 6 import self as self; |
7 import "dart:core" as core; | 7 import "dart:core" as core; |
8 | 8 |
9 class DeltaBlue extends core::Object { | 9 class DeltaBlue extends core::Object { |
10 constructor •() → void | 10 constructor •() → void |
11 : super core::Object::•() | 11 : super core::Object::•() |
12 ; | 12 ; |
13 method run() → void { | 13 method run() → void { |
14 self::chainTest(100); | 14 self::chainTest(100); |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 445 } |
446 static method change(self::Variable v, core::int newValue) → void { | 446 static method change(self::Variable v, core::int newValue) → void { |
447 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED); | 447 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED); |
448 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]); |
449 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)) { |
450 v.{self::Variable::value} = newValue; | 450 v.{self::Variable::value} = newValue; |
451 plan.{self::Plan::execute}(); | 451 plan.{self::Plan::execute}(); |
452 } | 452 } |
453 edit.{self::Constraint::destroyConstraint}(); | 453 edit.{self::Constraint::destroyConstraint}(); |
454 } | 454 } |
OLD | NEW |