OLD | NEW |
1 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:139:16) | 1 // dynamic is not a subtype of dart.core::int (DeltaBlue.dart:139:16) |
2 library; | 2 library; |
3 import self as self; | 3 import self as self; |
4 import "dart:core" as core; | 4 import "dart:core" as core; |
5 | 5 |
6 class DeltaBlue extends core::Object { | 6 class DeltaBlue extends core::Object { |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 method run() → void { | 10 method run() → void { |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 } | 437 } |
438 static method change(self::Variable v, core::int newValue) → void { | 438 static method change(self::Variable v, core::int newValue) → void { |
439 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED); | 439 self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED); |
440 self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<s
elf::EditConstraint>[edit]); | 440 self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<s
elf::EditConstraint>[edit]); |
441 for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) { | 441 for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) { |
442 v.{self::Variable::value} = newValue; | 442 v.{self::Variable::value} = newValue; |
443 plan.{self::Plan::execute}(); | 443 plan.{self::Plan::execute}(); |
444 } | 444 } |
445 edit.{self::Constraint::destroyConstraint}(); | 445 edit.{self::Constraint::destroyConstraint}(); |
446 } | 446 } |
OLD | NEW |