mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Revert "Enable constant-update-2018 by default." and "Update .expect files in pkg/front_end after e9ca6a53"
This reverts commite9ca6a5335
andd3e00fd35e
. Change-Id: I346d6156be19c4fceffa202a7ce9bfa931c7c14b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99560 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Vijay Menon <vsm@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
parent
ecdbdf00b8
commit
4b7d256a06
814 changed files with 3220 additions and 3021 deletions
|
@ -185,7 +185,7 @@ class ExperimentStatus {
|
|||
/// enabled by default.
|
||||
class IsEnabledByDefault {
|
||||
/// Default state of the experiment "constant-update"
|
||||
static const bool constant_update_2018 = true;
|
||||
static const bool constant_update_2018 = false;
|
||||
|
||||
/// Default state of the experiment "control-flow-collections"
|
||||
static const bool control_flow_collections = false;
|
||||
|
|
|
@ -26,7 +26,7 @@ ExperimentalFlag parseExperimentalFlag(String flag) {
|
|||
}
|
||||
|
||||
const Map<ExperimentalFlag, bool> defaultExperimentalFlags = {
|
||||
ExperimentalFlag.constantUpdate2018: true,
|
||||
ExperimentalFlag.constantUpdate2018: false,
|
||||
ExperimentalFlag.controlFlowCollections: false,
|
||||
ExperimentalFlag.setLiterals: true,
|
||||
ExperimentalFlag.spreadCollections: false,
|
||||
|
|
|
@ -18,7 +18,7 @@ class Strength extends core::Object {
|
|||
: self::Strength::value = value, self::Strength::name = name, super core::Object::•()
|
||||
;
|
||||
method nextWeaker() → self::Strength
|
||||
return (#C19).{core::List::[]}(this.{self::Strength::value});
|
||||
return const <self::Strength>[self::STRONG_PREFERRED, self::PREFERRED, self::STRONG_DEFAULT, self::NORMAL, self::WEAK_DEFAULT, self::WEAKEST].{core::List::[]}(this.{self::Strength::value});
|
||||
static method stronger(self::Strength s1, self::Strength s2) → core::bool {
|
||||
return s1.{self::Strength::value}.{core::num::<}(s2.{self::Strength::value});
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ abstract class Constraint extends core::Object {
|
|||
method satisfy(dynamic mark) → self::Constraint {
|
||||
this.{self::Constraint::chooseMethod}(mark as{TypeError} core::int);
|
||||
if(!this.{self::Constraint::isSatisfied}()) {
|
||||
if(this.{self::Constraint::strength}.{core::Object::==}(#C22)) {
|
||||
if(this.{self::Constraint::strength}.{core::Object::==}(self::REQUIRED)) {
|
||||
core::print("Could not satisfy a required constraint!");
|
||||
}
|
||||
return null;
|
||||
|
@ -131,39 +131,39 @@ class EditConstraint extends self::UnaryConstraint {
|
|||
abstract class BinaryConstraint extends self::Constraint {
|
||||
field self::Variable v1;
|
||||
field self::Variable v2;
|
||||
field core::int direction = #C1;
|
||||
field core::int direction = self::NONE;
|
||||
constructor •(self::Variable v1, self::Variable v2, self::Strength strength) → self::BinaryConstraint
|
||||
: self::BinaryConstraint::v1 = v1, self::BinaryConstraint::v2 = v2, super self::Constraint::•(strength) {
|
||||
this.{self::Constraint::addConstraint}();
|
||||
}
|
||||
method chooseMethod(core::int mark) → void {
|
||||
if(this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark)) {
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} #C4 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} self::FORWARD : self::NONE;
|
||||
}
|
||||
if(this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark)) {
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} #C20 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} self::BACKWARD : self::NONE;
|
||||
}
|
||||
if(self::Strength::weaker(this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength})) {
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} #C20 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} self::BACKWARD : self::NONE;
|
||||
}
|
||||
else {
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} #C4 : #C20;
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} self::FORWARD : self::BACKWARD;
|
||||
}
|
||||
}
|
||||
method addToGraph() → void {
|
||||
this.{self::BinaryConstraint::v1}.{self::Variable::addConstraint}(this);
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::addConstraint}(this);
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
method isSatisfied() → core::bool
|
||||
return !this.{self::BinaryConstraint::direction}.{core::num::==}(#C1);
|
||||
return !this.{self::BinaryConstraint::direction}.{core::num::==}(self::NONE);
|
||||
method markInputs(core::int mark) → void {
|
||||
this.{self::BinaryConstraint::input}().{self::Variable::mark} = mark;
|
||||
}
|
||||
method input() → self::Variable
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(#C4) ?{self::Variable} this.{self::BinaryConstraint::v1} : this.{self::BinaryConstraint::v2};
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD) ?{self::Variable} this.{self::BinaryConstraint::v1} : this.{self::BinaryConstraint::v2};
|
||||
method output() → self::Variable
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(#C4) ?{self::Variable} this.{self::BinaryConstraint::v2} : this.{self::BinaryConstraint::v1};
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD) ?{self::Variable} this.{self::BinaryConstraint::v2} : this.{self::BinaryConstraint::v1};
|
||||
method recalculate() → void {
|
||||
self::Variable ihn = this.{self::BinaryConstraint::input}();
|
||||
self::Variable out = this.{self::BinaryConstraint::output}();
|
||||
|
@ -173,7 +173,7 @@ abstract class BinaryConstraint extends self::Constraint {
|
|||
this.{self::Constraint::execute}();
|
||||
}
|
||||
method markUnsatisfied() → void {
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
method inputsKnown(core::int mark) → core::bool {
|
||||
self::Variable i = this.{self::BinaryConstraint::input}();
|
||||
|
@ -184,7 +184,7 @@ abstract class BinaryConstraint extends self::Constraint {
|
|||
this.{self::BinaryConstraint::v1}.{self::Variable::removeConstraint}(this);
|
||||
if(!this.{self::BinaryConstraint::v2}.{core::Object::==}(null))
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::removeConstraint}(this);
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
}
|
||||
class ScaleConstraint extends self::BinaryConstraint {
|
||||
|
@ -210,7 +210,7 @@ class ScaleConstraint extends self::BinaryConstraint {
|
|||
this.{self::ScaleConstraint::scale}.{self::Variable::mark} = this.{self::ScaleConstraint::offset}.{self::Variable::mark} = mark;
|
||||
}
|
||||
method execute() → void {
|
||||
if(this.{self::BinaryConstraint::direction}.{core::num::==}(#C4)) {
|
||||
if(this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD)) {
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::value} = this.{self::BinaryConstraint::v1}.{self::Variable::value}.{core::num::*}(this.{self::ScaleConstraint::scale}.{self::Variable::value}).{core::num::+}(this.{self::ScaleConstraint::offset}.{self::Variable::value});
|
||||
}
|
||||
else {
|
||||
|
@ -238,7 +238,7 @@ class Variable extends core::Object {
|
|||
field core::List<self::Constraint> constraints = <self::Constraint>[];
|
||||
field self::Constraint determinedBy = null;
|
||||
field core::int mark = 0;
|
||||
field self::Strength walkStrength = #C18;
|
||||
field self::Strength walkStrength = self::WEAKEST;
|
||||
field core::bool stay = true;
|
||||
field core::int value;
|
||||
final field core::String name;
|
||||
|
@ -269,7 +269,7 @@ class Planner extends core::Object {
|
|||
c.{self::Constraint::markUnsatisfied}();
|
||||
c.{self::Constraint::removeFromGraph}();
|
||||
core::List<self::Constraint> unsatisfied = this.{self::Planner::removePropagateFrom}(out);
|
||||
self::Strength strength = #C22;
|
||||
self::Strength strength = self::REQUIRED;
|
||||
do {
|
||||
for (core::int i = 0; i.{core::num::<}(unsatisfied.{core::List::length}); i = i.{core::num::+}(1)) {
|
||||
self::Constraint u = unsatisfied.{core::List::[]}(i);
|
||||
|
@ -278,7 +278,7 @@ class Planner extends core::Object {
|
|||
}
|
||||
strength = strength.{self::Strength::nextWeaker}();
|
||||
}
|
||||
while (!strength.{core::Object::==}(#C18))
|
||||
while (!strength.{core::Object::==}(self::WEAKEST))
|
||||
}
|
||||
method newMark() → core::int
|
||||
return this.{self::Planner::currentMark} = this.{self::Planner::currentMark}.{core::num::+}(1);
|
||||
|
@ -320,7 +320,7 @@ class Planner extends core::Object {
|
|||
}
|
||||
method removePropagateFrom(self::Variable out) → core::List<self::Constraint> {
|
||||
out.{self::Variable::determinedBy} = null;
|
||||
out.{self::Variable::walkStrength} = #C18;
|
||||
out.{self::Variable::walkStrength} = self::WEAKEST;
|
||||
out.{self::Variable::stay} = true;
|
||||
core::List<self::Constraint> unsatisfied = <self::Constraint>[];
|
||||
core::List<self::Variable> todo = <self::Variable>[out];
|
||||
|
@ -367,16 +367,16 @@ class Plan extends core::Object {
|
|||
}
|
||||
}
|
||||
}
|
||||
static const field self::Strength REQUIRED = #C22;
|
||||
static const field self::Strength STRONG_PREFERRED = #C3;
|
||||
static const field self::Strength PREFERRED = #C6;
|
||||
static const field self::Strength STRONG_DEFAULT = #C9;
|
||||
static const field self::Strength NORMAL = #C12;
|
||||
static const field self::Strength WEAK_DEFAULT = #C15;
|
||||
static const field self::Strength WEAKEST = #C18;
|
||||
static const field core::int NONE = #C1;
|
||||
static const field core::int FORWARD = #C4;
|
||||
static const field core::int BACKWARD = #C20;
|
||||
static const field self::Strength REQUIRED = const self::Strength::•(0, "required");
|
||||
static const field self::Strength STRONG_PREFERRED = const self::Strength::•(1, "strongPreferred");
|
||||
static const field self::Strength PREFERRED = const self::Strength::•(2, "preferred");
|
||||
static const field self::Strength STRONG_DEFAULT = const self::Strength::•(3, "strongDefault");
|
||||
static const field self::Strength NORMAL = const self::Strength::•(4, "normal");
|
||||
static const field self::Strength WEAK_DEFAULT = const self::Strength::•(5, "weakDefault");
|
||||
static const field self::Strength WEAKEST = const self::Strength::•(6, "weakest");
|
||||
static const field core::int NONE = 1;
|
||||
static const field core::int FORWARD = 2;
|
||||
static const field core::int BACKWARD = 0;
|
||||
static field self::Planner planner;
|
||||
static method main() → dynamic {
|
||||
new self::DeltaBlue::•().{self::DeltaBlue::run}();
|
||||
|
@ -389,15 +389,15 @@ static method chainTest(core::int n) → void {
|
|||
for (core::int i = 0; i.{core::num::<=}(n); i = i.{core::num::+}(1)) {
|
||||
self::Variable v = new self::Variable::•("v${i}", 0);
|
||||
if(!prev.{core::Object::==}(null))
|
||||
new self::EqualityConstraint::•(prev, v, #C22);
|
||||
new self::EqualityConstraint::•(prev, v, self::REQUIRED);
|
||||
if(i.{core::num::==}(0))
|
||||
first = v;
|
||||
if(i.{core::num::==}(n))
|
||||
last = v;
|
||||
prev = v;
|
||||
}
|
||||
new self::StayConstraint::•(last, #C9);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(first, #C6);
|
||||
new self::StayConstraint::•(last, self::STRONG_DEFAULT);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(first, self::PREFERRED);
|
||||
self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<self::Constraint>[edit]);
|
||||
for (core::int i = 0; i.{core::num::<}(100); i = i.{core::num::+}(1)) {
|
||||
first.{self::Variable::value} = i;
|
||||
|
@ -419,8 +419,8 @@ static method projectionTest(core::int n) → void {
|
|||
src = new self::Variable::•("src", i);
|
||||
dst = new self::Variable::•("dst", i);
|
||||
dests.{core::List::add}(dst);
|
||||
new self::StayConstraint::•(src, #C12);
|
||||
new self::ScaleConstraint::•(src, scale, offset, dst, #C22);
|
||||
new self::StayConstraint::•(src, self::NORMAL);
|
||||
new self::ScaleConstraint::•(src, scale, offset, dst, self::REQUIRED);
|
||||
}
|
||||
self::change(src, 17);
|
||||
if(!dst.{self::Variable::value}.{core::num::==}(1170))
|
||||
|
@ -440,7 +440,7 @@ static method projectionTest(core::int n) → void {
|
|||
}
|
||||
}
|
||||
static method change(self::Variable v, core::int newValue) → void {
|
||||
self::EditConstraint edit = new self::EditConstraint::•(v, #C6);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED);
|
||||
self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<self::EditConstraint>[edit]);
|
||||
for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) {
|
||||
v.{self::Variable::value} = newValue;
|
||||
|
|
|
@ -18,7 +18,7 @@ class Strength extends core::Object {
|
|||
: self::Strength::value = value, self::Strength::name = name, super core::Object::•()
|
||||
;
|
||||
method nextWeaker() → self::Strength
|
||||
return (#C19).{core::List::[]}(this.{self::Strength::value});
|
||||
return const <self::Strength>[self::STRONG_PREFERRED, self::PREFERRED, self::STRONG_DEFAULT, self::NORMAL, self::WEAK_DEFAULT, self::WEAKEST].{core::List::[]}(this.{self::Strength::value});
|
||||
static method stronger(self::Strength s1, self::Strength s2) → core::bool {
|
||||
return s1.{self::Strength::value}.{core::num::<}(s2.{self::Strength::value});
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ abstract class Constraint extends core::Object {
|
|||
method satisfy(dynamic mark) → self::Constraint {
|
||||
this.{self::Constraint::chooseMethod}(mark as{TypeError} core::int);
|
||||
if(!this.{self::Constraint::isSatisfied}()) {
|
||||
if(this.{self::Constraint::strength}.{core::Object::==}(#C22)) {
|
||||
if(this.{self::Constraint::strength}.{core::Object::==}(self::REQUIRED)) {
|
||||
core::print("Could not satisfy a required constraint!");
|
||||
}
|
||||
return null;
|
||||
|
@ -131,39 +131,39 @@ class EditConstraint extends self::UnaryConstraint {
|
|||
abstract class BinaryConstraint extends self::Constraint {
|
||||
field self::Variable v1;
|
||||
field self::Variable v2;
|
||||
field core::int direction = #C1;
|
||||
field core::int direction = self::NONE;
|
||||
constructor •(self::Variable v1, self::Variable v2, self::Strength strength) → self::BinaryConstraint
|
||||
: self::BinaryConstraint::v1 = v1, self::BinaryConstraint::v2 = v2, super self::Constraint::•(strength) {
|
||||
this.{self::Constraint::addConstraint}();
|
||||
}
|
||||
method chooseMethod(core::int mark) → void {
|
||||
if(this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark)) {
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} #C4 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} self::FORWARD : self::NONE;
|
||||
}
|
||||
if(this.{self::BinaryConstraint::v2}.{self::Variable::mark}.{core::num::==}(mark)) {
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} #C20 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = !this.{self::BinaryConstraint::v1}.{self::Variable::mark}.{core::num::==}(mark) && self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} self::BACKWARD : self::NONE;
|
||||
}
|
||||
if(self::Strength::weaker(this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength})) {
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} #C20 : #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v1}.{self::Variable::walkStrength}) ?{core::int} self::BACKWARD : self::NONE;
|
||||
}
|
||||
else {
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} #C4 : #C20;
|
||||
this.{self::BinaryConstraint::direction} = self::Strength::stronger(this.{self::Constraint::strength}, this.{self::BinaryConstraint::v2}.{self::Variable::walkStrength}) ?{core::int} self::FORWARD : self::BACKWARD;
|
||||
}
|
||||
}
|
||||
method addToGraph() → void {
|
||||
this.{self::BinaryConstraint::v1}.{self::Variable::addConstraint}(this);
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::addConstraint}(this);
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
method isSatisfied() → core::bool
|
||||
return !this.{self::BinaryConstraint::direction}.{core::num::==}(#C1);
|
||||
return !this.{self::BinaryConstraint::direction}.{core::num::==}(self::NONE);
|
||||
method markInputs(core::int mark) → void {
|
||||
this.{self::BinaryConstraint::input}().{self::Variable::mark} = mark;
|
||||
}
|
||||
method input() → self::Variable
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(#C4) ?{self::Variable} this.{self::BinaryConstraint::v1} : this.{self::BinaryConstraint::v2};
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD) ?{self::Variable} this.{self::BinaryConstraint::v1} : this.{self::BinaryConstraint::v2};
|
||||
method output() → self::Variable
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(#C4) ?{self::Variable} this.{self::BinaryConstraint::v2} : this.{self::BinaryConstraint::v1};
|
||||
return this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD) ?{self::Variable} this.{self::BinaryConstraint::v2} : this.{self::BinaryConstraint::v1};
|
||||
method recalculate() → void {
|
||||
self::Variable ihn = this.{self::BinaryConstraint::input}();
|
||||
self::Variable out = this.{self::BinaryConstraint::output}();
|
||||
|
@ -173,7 +173,7 @@ abstract class BinaryConstraint extends self::Constraint {
|
|||
this.{self::Constraint::execute}();
|
||||
}
|
||||
method markUnsatisfied() → void {
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
method inputsKnown(core::int mark) → core::bool {
|
||||
self::Variable i = this.{self::BinaryConstraint::input}();
|
||||
|
@ -184,7 +184,7 @@ abstract class BinaryConstraint extends self::Constraint {
|
|||
this.{self::BinaryConstraint::v1}.{self::Variable::removeConstraint}(this);
|
||||
if(!this.{self::BinaryConstraint::v2}.{core::Object::==}(null))
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::removeConstraint}(this);
|
||||
this.{self::BinaryConstraint::direction} = #C1;
|
||||
this.{self::BinaryConstraint::direction} = self::NONE;
|
||||
}
|
||||
}
|
||||
class ScaleConstraint extends self::BinaryConstraint {
|
||||
|
@ -210,7 +210,7 @@ class ScaleConstraint extends self::BinaryConstraint {
|
|||
this.{self::ScaleConstraint::scale}.{self::Variable::mark} = this.{self::ScaleConstraint::offset}.{self::Variable::mark} = mark;
|
||||
}
|
||||
method execute() → void {
|
||||
if(this.{self::BinaryConstraint::direction}.{core::num::==}(#C4)) {
|
||||
if(this.{self::BinaryConstraint::direction}.{core::num::==}(self::FORWARD)) {
|
||||
this.{self::BinaryConstraint::v2}.{self::Variable::value} = this.{self::BinaryConstraint::v1}.{self::Variable::value}.{core::num::*}(this.{self::ScaleConstraint::scale}.{self::Variable::value}).{core::num::+}(this.{self::ScaleConstraint::offset}.{self::Variable::value});
|
||||
}
|
||||
else {
|
||||
|
@ -238,7 +238,7 @@ class Variable extends core::Object {
|
|||
field core::List<self::Constraint> constraints = <self::Constraint>[];
|
||||
field self::Constraint determinedBy = null;
|
||||
field core::int mark = 0;
|
||||
field self::Strength walkStrength = #C18;
|
||||
field self::Strength walkStrength = self::WEAKEST;
|
||||
field core::bool stay = true;
|
||||
field core::int value;
|
||||
final field core::String name;
|
||||
|
@ -269,7 +269,7 @@ class Planner extends core::Object {
|
|||
c.{self::Constraint::markUnsatisfied}();
|
||||
c.{self::Constraint::removeFromGraph}();
|
||||
core::List<self::Constraint> unsatisfied = this.{self::Planner::removePropagateFrom}(out);
|
||||
self::Strength strength = #C22;
|
||||
self::Strength strength = self::REQUIRED;
|
||||
do {
|
||||
for (core::int i = 0; i.{core::num::<}(unsatisfied.{core::List::length}); i = i.{core::num::+}(1)) {
|
||||
self::Constraint u = unsatisfied.{core::List::[]}(i);
|
||||
|
@ -278,7 +278,7 @@ class Planner extends core::Object {
|
|||
}
|
||||
strength = strength.{self::Strength::nextWeaker}();
|
||||
}
|
||||
while (!strength.{core::Object::==}(#C18))
|
||||
while (!strength.{core::Object::==}(self::WEAKEST))
|
||||
}
|
||||
method newMark() → core::int
|
||||
return this.{self::Planner::currentMark} = this.{self::Planner::currentMark}.{core::num::+}(1);
|
||||
|
@ -320,7 +320,7 @@ class Planner extends core::Object {
|
|||
}
|
||||
method removePropagateFrom(self::Variable out) → core::List<self::Constraint> {
|
||||
out.{self::Variable::determinedBy} = null;
|
||||
out.{self::Variable::walkStrength} = #C18;
|
||||
out.{self::Variable::walkStrength} = self::WEAKEST;
|
||||
out.{self::Variable::stay} = true;
|
||||
core::List<self::Constraint> unsatisfied = <self::Constraint>[];
|
||||
core::List<self::Variable> todo = <self::Variable>[out];
|
||||
|
@ -367,16 +367,16 @@ class Plan extends core::Object {
|
|||
}
|
||||
}
|
||||
}
|
||||
static const field self::Strength REQUIRED = #C22;
|
||||
static const field self::Strength STRONG_PREFERRED = #C3;
|
||||
static const field self::Strength PREFERRED = #C6;
|
||||
static const field self::Strength STRONG_DEFAULT = #C9;
|
||||
static const field self::Strength NORMAL = #C12;
|
||||
static const field self::Strength WEAK_DEFAULT = #C15;
|
||||
static const field self::Strength WEAKEST = #C18;
|
||||
static const field core::int NONE = #C1;
|
||||
static const field core::int FORWARD = #C4;
|
||||
static const field core::int BACKWARD = #C20;
|
||||
static const field self::Strength REQUIRED = const self::Strength::•(0, "required");
|
||||
static const field self::Strength STRONG_PREFERRED = const self::Strength::•(1, "strongPreferred");
|
||||
static const field self::Strength PREFERRED = const self::Strength::•(2, "preferred");
|
||||
static const field self::Strength STRONG_DEFAULT = const self::Strength::•(3, "strongDefault");
|
||||
static const field self::Strength NORMAL = const self::Strength::•(4, "normal");
|
||||
static const field self::Strength WEAK_DEFAULT = const self::Strength::•(5, "weakDefault");
|
||||
static const field self::Strength WEAKEST = const self::Strength::•(6, "weakest");
|
||||
static const field core::int NONE = 1;
|
||||
static const field core::int FORWARD = 2;
|
||||
static const field core::int BACKWARD = 0;
|
||||
static field self::Planner planner;
|
||||
static method main() → dynamic {
|
||||
new self::DeltaBlue::•().{self::DeltaBlue::run}();
|
||||
|
@ -389,15 +389,15 @@ static method chainTest(core::int n) → void {
|
|||
for (core::int i = 0; i.{core::num::<=}(n); i = i.{core::num::+}(1)) {
|
||||
self::Variable v = new self::Variable::•("v${i}", 0);
|
||||
if(!prev.{core::Object::==}(null))
|
||||
new self::EqualityConstraint::•(prev, v, #C22);
|
||||
new self::EqualityConstraint::•(prev, v, self::REQUIRED);
|
||||
if(i.{core::num::==}(0))
|
||||
first = v;
|
||||
if(i.{core::num::==}(n))
|
||||
last = v;
|
||||
prev = v;
|
||||
}
|
||||
new self::StayConstraint::•(last, #C9);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(first, #C6);
|
||||
new self::StayConstraint::•(last, self::STRONG_DEFAULT);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(first, self::PREFERRED);
|
||||
self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<self::Constraint>[edit]);
|
||||
for (core::int i = 0; i.{core::num::<}(100); i = i.{core::num::+}(1)) {
|
||||
first.{self::Variable::value} = i;
|
||||
|
@ -419,8 +419,8 @@ static method projectionTest(core::int n) → void {
|
|||
src = new self::Variable::•("src", i);
|
||||
dst = new self::Variable::•("dst", i);
|
||||
dests.{core::List::add}(dst);
|
||||
new self::StayConstraint::•(src, #C12);
|
||||
new self::ScaleConstraint::•(src, scale, offset, dst, #C22);
|
||||
new self::StayConstraint::•(src, self::NORMAL);
|
||||
new self::ScaleConstraint::•(src, scale, offset, dst, self::REQUIRED);
|
||||
}
|
||||
self::change(src, 17);
|
||||
if(!dst.{self::Variable::value}.{core::num::==}(1170))
|
||||
|
@ -440,7 +440,7 @@ static method projectionTest(core::int n) → void {
|
|||
}
|
||||
}
|
||||
static method change(self::Variable v, core::int newValue) → void {
|
||||
self::EditConstraint edit = new self::EditConstraint::•(v, #C6);
|
||||
self::EditConstraint edit = new self::EditConstraint::•(v, self::PREFERRED);
|
||||
self::Plan plan = self::planner.{self::Planner::extractPlanFromConstraints}(<self::EditConstraint>[edit]);
|
||||
for (core::int i = 0; i.{core::num::<}(10); i = i.{core::num::+}(1)) {
|
||||
v.{self::Variable::value} = newValue;
|
||||
|
|
|
@ -182,13 +182,13 @@ class MyClass extends self::B {
|
|||
method bMethod() → dynamic {}
|
||||
method cMethod() → dynamic {}
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock1 extends self::B {
|
||||
synthetic constructor •() → self::MyMock1
|
||||
|
@ -197,21 +197,21 @@ class MyMock1 extends self::B {
|
|||
method noSuchMethod(dynamic _) → dynamic
|
||||
return null;
|
||||
no-such-method-forwarder method interfaceMethod2() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C8, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod2, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method abstractMethod() → dynamic
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C9, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#abstractMethod, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder method interfaceMethod1() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method interfaceMethod3() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C10, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod3, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock2 extends self::MyMock1 {
|
||||
synthetic constructor •() → self::MyMock2
|
||||
|
@ -225,15 +225,15 @@ class MyMock3 extends self::B {
|
|||
;
|
||||
abstract method noSuchMethod(dynamic _) → dynamic;
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
|
|
|
@ -182,13 +182,13 @@ class MyClass extends self::B {
|
|||
method bMethod() → dynamic {}
|
||||
method cMethod() → dynamic {}
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock1 extends self::B {
|
||||
synthetic constructor •() → self::MyMock1
|
||||
|
@ -197,21 +197,21 @@ class MyMock1 extends self::B {
|
|||
method noSuchMethod(dynamic _) → dynamic
|
||||
return null;
|
||||
no-such-method-forwarder method interfaceMethod2() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C8, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod2, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method abstractMethod() → dynamic
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C9, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#abstractMethod, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder method interfaceMethod1() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method interfaceMethod3() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C10, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod3, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock2 extends self::MyMock1 {
|
||||
synthetic constructor •() → self::MyMock2
|
||||
|
@ -225,15 +225,15 @@ class MyMock3 extends self::B {
|
|||
;
|
||||
abstract method noSuchMethod(dynamic _) → dynamic;
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
|
|
|
@ -182,13 +182,13 @@ class MyClass extends self::B {
|
|||
method bMethod() → dynamic {}
|
||||
method cMethod() → dynamic {}
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{core::Object::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock1 extends self::B {
|
||||
synthetic constructor •() → self::MyMock1
|
||||
|
@ -197,21 +197,21 @@ class MyMock1 extends self::B {
|
|||
method noSuchMethod(core::Invocation _) → dynamic
|
||||
return null;
|
||||
no-such-method-forwarder method interfaceMethod2() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C8, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod2, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method abstractMethod() → dynamic
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C9, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#abstractMethod, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder method interfaceMethod1() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder method interfaceMethod3() → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C10, 0, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod3, 0, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock1::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class MyMock2 extends self::MyMock1 {
|
||||
synthetic constructor •() → self::MyMock2
|
||||
|
@ -225,15 +225,15 @@ class MyMock3 extends self::B {
|
|||
;
|
||||
abstract method noSuchMethod(core::Invocation _) → dynamic;
|
||||
no-such-method-forwarder get interfaceMethod1() → dynamic
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 1, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))) as{TypeError} dynamic;
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1, 1, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))) as{TypeError} dynamic;
|
||||
no-such-method-forwarder set property3(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C5, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property3=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set interfaceMethod1(dynamic value) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#interfaceMethod1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property1(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property1=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
no-such-method-forwarder set property2(dynamic _) → void
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#C11, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
return this.{self::MyMock3::noSuchMethod}(new core::_InvocationMirror::_withType(#property2=, 2, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[_]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
|
|
|
@ -54,7 +54,7 @@ static set onlySetter(dynamic value) → void {
|
|||
}
|
||||
static method main() → dynamic {
|
||||
try {
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 33, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))));
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#onlySetter, 33, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))));
|
||||
throw "No error thrown";
|
||||
}
|
||||
on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
|
||||
|
|
|
@ -54,7 +54,7 @@ static set onlySetter(dynamic value) → void {
|
|||
}
|
||||
static method main() → dynamic {
|
||||
try {
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 33, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4))));
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#onlySetter, 33, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))));
|
||||
throw "No error thrown";
|
||||
}
|
||||
on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
|
||||
|
|
|
@ -7,12 +7,11 @@ library;
|
|||
// ^
|
||||
//
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
export "org-dartlang-testcase:///hello.dart";
|
||||
export "org-dartlang-testcase:///map.dart";
|
||||
|
||||
static const field dynamic _exports# = #C1 /* from null */;
|
||||
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/hello.dart' and 'pkg/front_end/testcases/map.dart'.\"}" /* from null */;
|
||||
|
||||
library;
|
||||
import self as self2;
|
||||
|
|
|
@ -7,12 +7,11 @@ library;
|
|||
// ^
|
||||
//
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
export "org-dartlang-testcase:///hello.dart";
|
||||
export "org-dartlang-testcase:///map.dart";
|
||||
|
||||
static const field dynamic _exports# = #C1 /* from null */;
|
||||
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/hello.dart' and 'pkg/front_end/testcases/map.dart'.\"}" /* from null */;
|
||||
|
||||
library;
|
||||
import self as self2;
|
||||
|
|
|
@ -7,12 +7,11 @@ library;
|
|||
// ^
|
||||
//
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
export "org-dartlang-testcase:///hello.dart";
|
||||
export "org-dartlang-testcase:///map.dart";
|
||||
|
||||
static const field dynamic _exports# = #C1 /* from null */;
|
||||
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/hello.dart' and 'pkg/front_end/testcases/map.dart'.\"}" /* from null */;
|
||||
|
||||
library;
|
||||
import self as self2;
|
||||
|
|
|
@ -7,12 +7,11 @@ library;
|
|||
// ^
|
||||
//
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
export "org-dartlang-testcase:///hello.dart";
|
||||
export "org-dartlang-testcase:///map.dart";
|
||||
|
||||
static const field dynamic _exports# = #C1 /* from null */;
|
||||
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/hello.dart' and 'pkg/front_end/testcases/map.dart'.\"}" /* from null */;
|
||||
|
||||
library;
|
||||
import self as self2;
|
||||
|
|
|
@ -11,17 +11,17 @@ class Fisk<T extends core::Object = dynamic> extends core::Object {
|
|||
class Foo extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Foo> values = #C10;
|
||||
@#C11
|
||||
static const field self::Foo bar = #C3;
|
||||
@#C12
|
||||
static const field self::Foo baz = #C6;
|
||||
static const field self::Foo cafebabe = #C9;
|
||||
static const field core::List<self::Foo> values = const <self::Foo>[self::Foo::bar, self::Foo::baz, self::Foo::cafebabe];
|
||||
@self::hest
|
||||
static const field self::Foo bar = const self::Foo::•(0, "Foo.bar");
|
||||
@self::Fisk::fisk<dynamic>(self::hest)
|
||||
static const field self::Foo baz = const self::Foo::•(1, "Foo.baz");
|
||||
static const field self::Foo cafebabe = const self::Foo::•(2, "Foo.cafebabe");
|
||||
const constructor •(core::int index, core::String _name) → self::Foo
|
||||
: self::Foo::index = index, self::Foo::_name = _name, super core::Object::•()
|
||||
;
|
||||
method toString() → core::String
|
||||
return this.{=self::Foo::_name};
|
||||
}
|
||||
static const field core::int hest = #C11;
|
||||
static const field core::int hest = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -11,17 +11,17 @@ class Fisk<T extends core::Object = dynamic> extends core::Object {
|
|||
class Foo extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Foo> values = #C10;
|
||||
@#C11
|
||||
static const field self::Foo bar = #C3;
|
||||
@#C12
|
||||
static const field self::Foo baz = #C6;
|
||||
static const field self::Foo cafebabe = #C9;
|
||||
static const field core::List<self::Foo> values = const <self::Foo>[self::Foo::bar, self::Foo::baz, self::Foo::cafebabe];
|
||||
@self::hest
|
||||
static const field self::Foo bar = const self::Foo::•(0, "Foo.bar");
|
||||
@self::Fisk::fisk<dynamic>(self::hest)
|
||||
static const field self::Foo baz = const self::Foo::•(1, "Foo.baz");
|
||||
static const field self::Foo cafebabe = const self::Foo::•(2, "Foo.cafebabe");
|
||||
const constructor •(core::int index, core::String _name) → self::Foo
|
||||
: self::Foo::index = index, self::Foo::_name = _name, super core::Object::•()
|
||||
;
|
||||
method toString() → core::String
|
||||
return this.{=self::Foo::_name};
|
||||
}
|
||||
static const field core::int hest = #C11;
|
||||
static const field core::int hest = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -11,17 +11,17 @@ class Fisk<T extends core::Object = dynamic> extends core::Object {
|
|||
class Foo extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Foo> values = #C10;
|
||||
@#C11
|
||||
static const field self::Foo bar = #C3;
|
||||
@#C12
|
||||
static const field self::Foo baz = #C6;
|
||||
static const field self::Foo cafebabe = #C9;
|
||||
static const field core::List<self::Foo> values = const <self::Foo>[self::Foo::bar, self::Foo::baz, self::Foo::cafebabe];
|
||||
@self::hest
|
||||
static const field self::Foo bar = const self::Foo::•(0, "Foo.bar");
|
||||
@self::Fisk::fisk<core::int>(self::hest)
|
||||
static const field self::Foo baz = const self::Foo::•(1, "Foo.baz");
|
||||
static const field self::Foo cafebabe = const self::Foo::•(2, "Foo.cafebabe");
|
||||
const constructor •(core::int index, core::String _name) → self::Foo
|
||||
: self::Foo::index = index, self::Foo::_name = _name, super core::Object::•()
|
||||
;
|
||||
method toString() → core::String
|
||||
return this.{=self::Foo::_name};
|
||||
}
|
||||
static const field core::int hest = #C11;
|
||||
static const field core::int hest = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -11,17 +11,17 @@ class Fisk<T extends core::Object = dynamic> extends core::Object {
|
|||
class Foo extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Foo> values = #C10;
|
||||
@#C11
|
||||
static const field self::Foo bar = #C3;
|
||||
@#C12
|
||||
static const field self::Foo baz = #C6;
|
||||
static const field self::Foo cafebabe = #C9;
|
||||
static const field core::List<self::Foo> values = const <self::Foo>[self::Foo::bar, self::Foo::baz, self::Foo::cafebabe];
|
||||
@self::hest
|
||||
static const field self::Foo bar = const self::Foo::•(0, "Foo.bar");
|
||||
@self::Fisk::fisk<core::int>(self::hest)
|
||||
static const field self::Foo baz = const self::Foo::•(1, "Foo.baz");
|
||||
static const field self::Foo cafebabe = const self::Foo::•(2, "Foo.cafebabe");
|
||||
const constructor •(core::int index, core::String _name) → self::Foo
|
||||
: self::Foo::index = index, self::Foo::_name = _name, super core::Object::•()
|
||||
;
|
||||
method toString() → core::String
|
||||
return this.{=self::Foo::_name};
|
||||
}
|
||||
static const field core::int hest = #C11;
|
||||
static const field core::int hest = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
@#C1
|
||||
@#C2
|
||||
@test::a
|
||||
@test::A::•(1)
|
||||
library test;
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
typedef F1 = () → void;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
typedef F2 = () → void;
|
||||
class A extends core::Object {
|
||||
const constructor •(core::int value) → self::A
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::Object a = #C1;
|
||||
@#C1
|
||||
@#C2
|
||||
static const field core::Object a = const core::Object::•();
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f1;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f2;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(4)
|
||||
static method main() → void {}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
@#C1
|
||||
@#C2
|
||||
@test::a
|
||||
@test::A::•(1)
|
||||
library test;
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
typedef F1 = () → void;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
typedef F2 = () → void;
|
||||
class A extends core::Object {
|
||||
const constructor •(core::int value) → self::A
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::Object a = #C1;
|
||||
@#C1
|
||||
@#C2
|
||||
static const field core::Object a = const core::Object::•();
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f1;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f2;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(4)
|
||||
static method main() → void {}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
@#C1
|
||||
@#C2
|
||||
@test::a
|
||||
@test::A::•(1)
|
||||
library test;
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
typedef F1 = () → void;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
typedef F2 = () → void;
|
||||
class A extends core::Object {
|
||||
const constructor •(core::int value) → self::A
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::Object a = #C1;
|
||||
@#C1
|
||||
@#C2
|
||||
static const field core::Object a = const core::Object::•();
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f1;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f2;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(4)
|
||||
static method main() → void {}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
@#C1
|
||||
@#C2
|
||||
@test::a
|
||||
@test::A::•(1)
|
||||
library test;
|
||||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
typedef F1 = () → void;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
typedef F2 = () → void;
|
||||
class A extends core::Object {
|
||||
const constructor •(core::int value) → self::A
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(2)
|
||||
class C extends core::Object {
|
||||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::Object a = #C1;
|
||||
@#C1
|
||||
@#C2
|
||||
static const field core::Object a = const core::Object::•();
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f1;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(3)
|
||||
static field core::int f2;
|
||||
@#C1
|
||||
@#C2
|
||||
@self::a
|
||||
@self::A::•(4)
|
||||
static method main() → void {}
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int x, core::num y, {@#C2 @#C3 core::String z, core::Object w}) → void;
|
||||
typedef G = (@#C1 core::int a, core::num b, [@#C2 @#C3 core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int bar = #C2;
|
||||
static const field core::int baz = #C3;
|
||||
typedef F = (@self::foo core::int x, core::num y, {@self::bar @self::baz core::String z, core::Object w}) → void;
|
||||
typedef G = (@self::foo core::int a, core::num b, [@self::bar @self::baz core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = 21;
|
||||
static const field core::int bar = 42;
|
||||
static const field core::int baz = 84;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int x, core::num y, {@#C2 @#C3 core::String z, core::Object w}) → void;
|
||||
typedef G = (@#C1 core::int a, core::num b, [@#C2 @#C3 core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int bar = #C2;
|
||||
static const field core::int baz = #C3;
|
||||
typedef F = (@self::foo core::int x, core::num y, {@self::bar @self::baz core::String z, core::Object w}) → void;
|
||||
typedef G = (@self::foo core::int a, core::num b, [@self::bar @self::baz core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = 21;
|
||||
static const field core::int bar = 42;
|
||||
static const field core::int baz = 84;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int x, core::num y, {@#C2 @#C3 core::String z, core::Object w}) → void;
|
||||
typedef G = (@#C1 core::int a, core::num b, [@#C2 @#C3 core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int bar = #C2;
|
||||
static const field core::int baz = #C3;
|
||||
typedef F = (@self::foo core::int x, core::num y, {@self::bar @self::baz core::String z, core::Object w}) → void;
|
||||
typedef G = (@self::foo core::int a, core::num b, [@self::bar @self::baz core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = 21;
|
||||
static const field core::int bar = 42;
|
||||
static const field core::int baz = 84;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int x, core::num y, {@#C2 @#C3 core::String z, core::Object w}) → void;
|
||||
typedef G = (@#C1 core::int a, core::num b, [@#C2 @#C3 core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int bar = #C2;
|
||||
static const field core::int baz = #C3;
|
||||
typedef F = (@self::foo core::int x, core::num y, {@self::bar @self::baz core::String z, core::Object w}) → void;
|
||||
typedef G = (@self::foo core::int a, core::num b, [@self::bar @self::baz core::String c, core::Object d]) → void;
|
||||
static const field core::int foo = 21;
|
||||
static const field core::int bar = 42;
|
||||
static const field core::int baz = 84;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,6 +2,6 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int app) → core::int;
|
||||
static const field core::int app = #C1;
|
||||
typedef F = (@self::app core::int app) → core::int;
|
||||
static const field core::int app = 0;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,6 +2,6 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int app) → core::int;
|
||||
static const field core::int app = #C1;
|
||||
typedef F = (@self::app core::int app) → core::int;
|
||||
static const field core::int app = 0;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,6 +2,6 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int app) → core::int;
|
||||
static const field core::int app = #C1;
|
||||
typedef F = (@self::app core::int app) → core::int;
|
||||
static const field core::int app = 0;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,6 +2,6 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef F = (@#C1 core::int app) → core::int;
|
||||
static const field core::int app = #C1;
|
||||
typedef F = (@self::app core::int app) → core::int;
|
||||
static const field core::int app = 0;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef hest_t = ({@#C1 dynamic named}) → dynamic;
|
||||
typedef hest_t = ({@self::foo dynamic named}) → dynamic;
|
||||
class Bar extends core::Object {
|
||||
const constructor •() → self::Bar
|
||||
: super core::Object::•()
|
||||
|
@ -12,25 +12,25 @@ class Bar extends core::Object {
|
|||
;
|
||||
}
|
||||
class Baz extends core::Object {
|
||||
constructor •(@#C1 dynamic constructorFormal) → self::Baz
|
||||
constructor •(@self::foo dynamic constructorFormal) → self::Baz
|
||||
: super core::Object::•()
|
||||
;
|
||||
static factory bazFactory(@#C1 dynamic factoryFormal) → self::Baz
|
||||
static factory bazFactory(@self::foo dynamic factoryFormal) → self::Baz
|
||||
return null;
|
||||
method fisk(@#C1 dynamic formal1, @#C2 dynamic formal2, @#C2 dynamic formal3, @#C1 @#C2 dynamic formal4, [@#C1 dynamic optional = #C3]) → dynamic {
|
||||
@#C1 dynamic local1;
|
||||
@#C2 dynamic local2;
|
||||
@#C2 dynamic local3;
|
||||
@#C1 @#C2 dynamic local4;
|
||||
@#C1 dynamic localWithInitializer = "hello";
|
||||
@#C1 @#C2 dynamic localGroupPart1;
|
||||
@#C1 @#C2 dynamic localGroupPart2;
|
||||
function naebdyr(@#C1 dynamic nestedFormal) → dynamic
|
||||
method fisk(@self::foo dynamic formal1, @self::Bar::•() dynamic formal2, @self::Bar::named(self::foo) dynamic formal3, @self::foo @self::Bar::named(self::foo) dynamic formal4, [@self::foo dynamic optional = null]) → dynamic {
|
||||
@self::foo dynamic local1;
|
||||
@self::Bar::•() dynamic local2;
|
||||
@self::Bar::named(self::foo) dynamic local3;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic local4;
|
||||
@self::foo dynamic localWithInitializer = "hello";
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart1;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart2;
|
||||
function naebdyr(@self::foo dynamic nestedFormal) → dynamic
|
||||
return null;
|
||||
dynamic roedmus = (@#C1 dynamic closureFormal) → dynamic => null;
|
||||
dynamic roedmus = (@self::foo dynamic closureFormal) → dynamic => null;
|
||||
}
|
||||
method hest({@#C1 dynamic named = #C3}) → dynamic
|
||||
method hest({@self::foo dynamic named = null}) → dynamic
|
||||
return null;
|
||||
}
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int foo = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef hest_t = ({@#C1 dynamic named}) → dynamic;
|
||||
typedef hest_t = ({@self::foo dynamic named}) → dynamic;
|
||||
class Bar extends core::Object {
|
||||
const constructor •() → self::Bar
|
||||
: super core::Object::•()
|
||||
|
@ -12,25 +12,25 @@ class Bar extends core::Object {
|
|||
;
|
||||
}
|
||||
class Baz extends core::Object {
|
||||
constructor •(@#C1 dynamic constructorFormal) → self::Baz
|
||||
constructor •(@self::foo dynamic constructorFormal) → self::Baz
|
||||
: super core::Object::•()
|
||||
;
|
||||
static factory bazFactory(@#C1 dynamic factoryFormal) → self::Baz
|
||||
static factory bazFactory(@self::foo dynamic factoryFormal) → self::Baz
|
||||
return null;
|
||||
method fisk(@#C1 dynamic formal1, @#C2 dynamic formal2, @#C2 dynamic formal3, @#C1 @#C2 dynamic formal4, [@#C1 dynamic optional = #C3]) → dynamic {
|
||||
@#C1 dynamic local1;
|
||||
@#C2 dynamic local2;
|
||||
@#C2 dynamic local3;
|
||||
@#C1 @#C2 dynamic local4;
|
||||
@#C1 dynamic localWithInitializer = "hello";
|
||||
@#C1 @#C2 dynamic localGroupPart1;
|
||||
@#C1 @#C2 dynamic localGroupPart2;
|
||||
function naebdyr(@#C1 dynamic nestedFormal) → dynamic
|
||||
method fisk(@self::foo dynamic formal1, @self::Bar::•() dynamic formal2, @self::Bar::named(self::foo) dynamic formal3, @self::foo @self::Bar::named(self::foo) dynamic formal4, [@self::foo dynamic optional = null]) → dynamic {
|
||||
@self::foo dynamic local1;
|
||||
@self::Bar::•() dynamic local2;
|
||||
@self::Bar::named(self::foo) dynamic local3;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic local4;
|
||||
@self::foo dynamic localWithInitializer = "hello";
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart1;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart2;
|
||||
function naebdyr(@self::foo dynamic nestedFormal) → dynamic
|
||||
return null;
|
||||
dynamic roedmus = (@#C1 dynamic closureFormal) → dynamic => null;
|
||||
dynamic roedmus = (@self::foo dynamic closureFormal) → dynamic => null;
|
||||
}
|
||||
method hest({@#C1 dynamic named = #C3}) → dynamic
|
||||
method hest({@self::foo dynamic named = null}) → dynamic
|
||||
return null;
|
||||
}
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int foo = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef hest_t = ({@#C1 dynamic named}) → dynamic;
|
||||
typedef hest_t = ({@self::foo dynamic named}) → dynamic;
|
||||
class Bar extends core::Object {
|
||||
const constructor •() → self::Bar
|
||||
: super core::Object::•()
|
||||
|
@ -12,25 +12,25 @@ class Bar extends core::Object {
|
|||
;
|
||||
}
|
||||
class Baz extends core::Object {
|
||||
constructor •(@#C1 dynamic constructorFormal) → self::Baz
|
||||
constructor •(@self::foo dynamic constructorFormal) → self::Baz
|
||||
: super core::Object::•()
|
||||
;
|
||||
static factory bazFactory(@#C1 dynamic factoryFormal) → self::Baz
|
||||
static factory bazFactory(@self::foo dynamic factoryFormal) → self::Baz
|
||||
return null;
|
||||
method fisk(@#C1 dynamic formal1, @#C2 dynamic formal2, @#C2 dynamic formal3, @#C1 @#C2 dynamic formal4, [@#C1 dynamic optional = #C3]) → dynamic {
|
||||
@#C1 dynamic local1;
|
||||
@#C2 dynamic local2;
|
||||
@#C2 dynamic local3;
|
||||
@#C1 @#C2 dynamic local4;
|
||||
@#C1 core::String localWithInitializer = "hello";
|
||||
@#C1 @#C2 dynamic localGroupPart1;
|
||||
@#C1 @#C2 dynamic localGroupPart2;
|
||||
function naebdyr(@#C1 dynamic nestedFormal) → core::Null
|
||||
method fisk(@self::foo dynamic formal1, @self::Bar::•() dynamic formal2, @self::Bar::named(self::foo) dynamic formal3, @self::foo @self::Bar::named(self::foo) dynamic formal4, [@self::foo dynamic optional = null]) → dynamic {
|
||||
@self::foo dynamic local1;
|
||||
@self::Bar::•() dynamic local2;
|
||||
@self::Bar::named(self::foo) dynamic local3;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic local4;
|
||||
@self::foo core::String localWithInitializer = "hello";
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart1;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart2;
|
||||
function naebdyr(@self::foo dynamic nestedFormal) → core::Null
|
||||
return null;
|
||||
(dynamic) → core::Null roedmus = (@#C1 dynamic closureFormal) → core::Null => null;
|
||||
(dynamic) → core::Null roedmus = (@self::foo dynamic closureFormal) → core::Null => null;
|
||||
}
|
||||
method hest({@#C1 dynamic named = #C3}) → dynamic
|
||||
method hest({@self::foo dynamic named = null}) → dynamic
|
||||
return null;
|
||||
}
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int foo = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
typedef hest_t = ({@#C1 dynamic named}) → dynamic;
|
||||
typedef hest_t = ({@self::foo dynamic named}) → dynamic;
|
||||
class Bar extends core::Object {
|
||||
const constructor •() → self::Bar
|
||||
: super core::Object::•()
|
||||
|
@ -12,25 +12,25 @@ class Bar extends core::Object {
|
|||
;
|
||||
}
|
||||
class Baz extends core::Object {
|
||||
constructor •(@#C1 dynamic constructorFormal) → self::Baz
|
||||
constructor •(@self::foo dynamic constructorFormal) → self::Baz
|
||||
: super core::Object::•()
|
||||
;
|
||||
static factory bazFactory(@#C1 dynamic factoryFormal) → self::Baz
|
||||
static factory bazFactory(@self::foo dynamic factoryFormal) → self::Baz
|
||||
return null;
|
||||
method fisk(@#C1 dynamic formal1, @#C2 dynamic formal2, @#C2 dynamic formal3, @#C1 @#C2 dynamic formal4, [@#C1 dynamic optional = #C3]) → dynamic {
|
||||
@#C1 dynamic local1;
|
||||
@#C2 dynamic local2;
|
||||
@#C2 dynamic local3;
|
||||
@#C1 @#C2 dynamic local4;
|
||||
@#C1 core::String localWithInitializer = "hello";
|
||||
@#C1 @#C2 dynamic localGroupPart1;
|
||||
@#C1 @#C2 dynamic localGroupPart2;
|
||||
function naebdyr(@#C1 dynamic nestedFormal) → core::Null
|
||||
method fisk(@self::foo dynamic formal1, @self::Bar::•() dynamic formal2, @self::Bar::named(self::foo) dynamic formal3, @self::foo @self::Bar::named(self::foo) dynamic formal4, [@self::foo dynamic optional = null]) → dynamic {
|
||||
@self::foo dynamic local1;
|
||||
@self::Bar::•() dynamic local2;
|
||||
@self::Bar::named(self::foo) dynamic local3;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic local4;
|
||||
@self::foo core::String localWithInitializer = "hello";
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart1;
|
||||
@self::foo @self::Bar::named(self::foo) dynamic localGroupPart2;
|
||||
function naebdyr(@self::foo dynamic nestedFormal) → core::Null
|
||||
return null;
|
||||
(dynamic) → core::Null roedmus = (@#C1 dynamic closureFormal) → core::Null => null;
|
||||
(dynamic) → core::Null roedmus = (@self::foo dynamic closureFormal) → core::Null => null;
|
||||
}
|
||||
method hest({@#C1 dynamic named = #C3}) → dynamic
|
||||
method hest({@self::foo dynamic named = null}) → dynamic
|
||||
return null;
|
||||
}
|
||||
static const field core::int foo = #C1;
|
||||
static const field core::int foo = 42;
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -32,6 +32,6 @@ static method escape(dynamic fn) → void {
|
|||
static method main() → dynamic {
|
||||
self::foo(new self::Foo::•());
|
||||
self::bar(new self::Bar::•());
|
||||
self::escape(#C1);
|
||||
self::escape(#C2);
|
||||
self::escape(self::foo_escaped);
|
||||
self::escape(self::bar_escaped);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@ static method escape(dynamic fn) → void {
|
|||
static method main() → dynamic {
|
||||
self::foo(new self::Foo::•());
|
||||
self::bar(new self::Bar::•());
|
||||
self::escape(#C1);
|
||||
self::escape(#C2);
|
||||
self::escape(self::foo_escaped);
|
||||
self::escape(self::bar_escaped);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@ static method escape(dynamic fn) → void {
|
|||
static method main() → dynamic {
|
||||
self::foo(new self::Foo::•());
|
||||
self::bar(new self::Bar::•());
|
||||
self::escape(#C1);
|
||||
self::escape(#C2);
|
||||
self::escape(self::foo_escaped);
|
||||
self::escape(self::bar_escaped);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@ static method escape(dynamic fn) → void {
|
|||
static method main() → dynamic {
|
||||
self::foo(new self::Foo::•());
|
||||
self::bar(new self::Bar::•());
|
||||
self::escape(#C1);
|
||||
self::escape(#C2);
|
||||
self::escape(self::foo_escaped);
|
||||
self::escape(self::bar_escaped);
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@ import "dart:core" as core;
|
|||
|
||||
static method foo() → dynamic {}
|
||||
static method test() → dynamic {
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#foo, 32, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -15,6 +15,6 @@ import "dart:core" as core;
|
|||
|
||||
static method foo() → dynamic {}
|
||||
static method test() → dynamic {
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#foo, 32, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
|
|
@ -8,7 +8,7 @@ import "dart:async";
|
|||
class Node extends core::Object {
|
||||
final field core::List<self::Node> nested;
|
||||
final field core::String name;
|
||||
constructor •(core::String name, [core::List<self::Node> nested = #C1]) → self::Node
|
||||
constructor •(core::String name, [core::List<self::Node> nested = null]) → self::Node
|
||||
: self::Node::name = name, self::Node::nested = nested, super core::Object::•() {}
|
||||
method toString() → core::String
|
||||
return "<${this.{self::Node::name}}:[${let final dynamic #t1 = this.{self::Node::nested} in #t1.==(null) ? null : #t1.join(", ")}]>";
|
||||
|
|
|
@ -8,7 +8,7 @@ import "dart:async";
|
|||
class Node extends core::Object {
|
||||
final field core::List<self::Node> nested;
|
||||
final field core::String name;
|
||||
constructor •(core::String name, [core::List<self::Node> nested = #C1]) → self::Node
|
||||
constructor •(core::String name, [core::List<self::Node> nested = null]) → self::Node
|
||||
: self::Node::name = name, self::Node::nested = nested, super core::Object::•() {}
|
||||
method toString() → core::String
|
||||
return "<${this.{self::Node::name}}:[${let final dynamic #t1 = this.{self::Node::nested} in #t1.==(null) ? null : #t1.join(", ")}]>";
|
||||
|
|
|
@ -8,7 +8,7 @@ import "dart:async";
|
|||
class Node extends core::Object {
|
||||
final field core::List<self::Node> nested;
|
||||
final field core::String name;
|
||||
constructor •(core::String name, [core::List<self::Node> nested = #C1]) → self::Node
|
||||
constructor •(core::String name, [core::List<self::Node> nested = null]) → self::Node
|
||||
: self::Node::name = name, self::Node::nested = nested, super core::Object::•() {}
|
||||
method toString() → core::String
|
||||
return "<${this.{self::Node::name}}:[${let final core::List<self::Node> #t1 = this.{self::Node::nested} in #t1.==(null) ?{core::String} null : #t1.{core::Iterable::join}(", ")}]>";
|
||||
|
|
|
@ -8,7 +8,7 @@ import "dart:async";
|
|||
class Node extends core::Object {
|
||||
final field core::List<self::Node> nested;
|
||||
final field core::String name;
|
||||
constructor •(core::String name, [core::List<self::Node> nested = #C1]) → self::Node
|
||||
constructor •(core::String name, [core::List<self::Node> nested = null]) → self::Node
|
||||
: self::Node::name = name, self::Node::nested = nested, super core::Object::•() {}
|
||||
method toString() → core::String
|
||||
return "<${this.{self::Node::name}}:[${let final core::List<self::Node> #t1 = this.{self::Node::nested} in #t1.==(null) ?{core::String} null : #t1.{core::Iterable::join}(", ")}]>";
|
||||
|
|
|
@ -12,7 +12,7 @@ class C extends core::Object implements self::I {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
method call([core::int x = #C1]) → void {}
|
||||
method call([core::int x = null]) → void {}
|
||||
}
|
||||
static method main() → dynamic {
|
||||
self::I i = new self::C::•();
|
||||
|
|
|
@ -12,7 +12,7 @@ class C extends core::Object implements self::I {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
method call([core::int x = #C1]) → void {}
|
||||
method call([core::int x = null]) → void {}
|
||||
}
|
||||
static method main() → dynamic {
|
||||
self::I i = new self::C::•();
|
||||
|
|
|
@ -12,7 +12,7 @@ class C extends core::Object implements self::I {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
method call([core::int x = #C1]) → void {}
|
||||
method call([core::int x = null]) → void {}
|
||||
}
|
||||
static method main() → dynamic {
|
||||
self::I i = new self::C::•();
|
||||
|
|
|
@ -12,7 +12,7 @@ class C extends core::Object implements self::I {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
method call([core::int x = #C1]) → void {}
|
||||
method call([core::int x = null]) → void {}
|
||||
}
|
||||
static method main() → dynamic {
|
||||
self::I i = new self::C::•();
|
||||
|
|
|
@ -14,7 +14,7 @@ class MyTest extends core::Object {
|
|||
synthetic constructor •() → self::MyTest
|
||||
: super core::Object::•()
|
||||
;
|
||||
@#C1
|
||||
@self::failingTest
|
||||
method foo() → void {}
|
||||
}
|
||||
abstract class _MyTest2&Object&MyTest = core::Object with self::MyTest {
|
||||
|
@ -27,18 +27,18 @@ class MyTest2 extends self::_MyTest2&Object&MyTest {
|
|||
: super self::_MyTest2&Object&MyTest::•()
|
||||
;
|
||||
}
|
||||
static const field self::_FailingTest failingTest = #C1;
|
||||
static const field self::_FailingTest failingTest = const self::_FailingTest::•();
|
||||
static method main() → dynamic {
|
||||
mir::ClassMirror classMirror = mir::reflectClass(self::MyTest2);
|
||||
classMirror.{mir::ClassMirror::instanceMembers}.{core::Map::forEach}((core::Symbol symbol, mir::MethodMirror memberMirror) → core::Null {
|
||||
if(memberMirror.{mir::DeclarationMirror::simpleName}.{core::Symbol::==}(#C2)) {
|
||||
if(memberMirror.{mir::DeclarationMirror::simpleName}.{core::Symbol::==}(#foo)) {
|
||||
core::print(memberMirror);
|
||||
core::print(self::_hasFailingTestAnnotation(memberMirror));
|
||||
}
|
||||
});
|
||||
}
|
||||
static method _hasFailingTestAnnotation(mir::MethodMirror method) → core::bool {
|
||||
core::bool r = self::_hasAnnotationInstance(method, #C1);
|
||||
core::bool r = self::_hasAnnotationInstance(method, self::failingTest);
|
||||
core::print("[_hasFailingTestAnnotation] ${method} ${r}");
|
||||
return r;
|
||||
}
|
||||
|
|
|
@ -14,14 +14,14 @@ class MyTest extends core::Object {
|
|||
synthetic constructor •() → self::MyTest
|
||||
: super core::Object::•()
|
||||
;
|
||||
@#C1
|
||||
@self::failingTest
|
||||
method foo() → void {}
|
||||
}
|
||||
abstract class _MyTest2&Object&MyTest extends core::Object implements self::MyTest {
|
||||
const synthetic constructor •() → self::_MyTest2&Object&MyTest
|
||||
: super core::Object::•()
|
||||
;
|
||||
@#C1
|
||||
@self::failingTest
|
||||
method foo() → void {}
|
||||
}
|
||||
class MyTest2 extends self::_MyTest2&Object&MyTest {
|
||||
|
@ -29,18 +29,18 @@ class MyTest2 extends self::_MyTest2&Object&MyTest {
|
|||
: super self::_MyTest2&Object&MyTest::•()
|
||||
;
|
||||
}
|
||||
static const field self::_FailingTest failingTest = #C1;
|
||||
static const field self::_FailingTest failingTest = const self::_FailingTest::•();
|
||||
static method main() → dynamic {
|
||||
mir::ClassMirror classMirror = mir::reflectClass(self::MyTest2);
|
||||
classMirror.{mir::ClassMirror::instanceMembers}.{core::Map::forEach}((core::Symbol symbol, mir::MethodMirror memberMirror) → core::Null {
|
||||
if(memberMirror.{mir::DeclarationMirror::simpleName}.{core::Symbol::==}(#C2)) {
|
||||
if(memberMirror.{mir::DeclarationMirror::simpleName}.{core::Symbol::==}(#foo)) {
|
||||
core::print(memberMirror);
|
||||
core::print(self::_hasFailingTestAnnotation(memberMirror));
|
||||
}
|
||||
});
|
||||
}
|
||||
static method _hasFailingTestAnnotation(mir::MethodMirror method) → core::bool {
|
||||
core::bool r = self::_hasAnnotationInstance(method, #C1);
|
||||
core::bool r = self::_hasAnnotationInstance(method, self::failingTest);
|
||||
core::print("[_hasFailingTestAnnotation] ${method} ${r}");
|
||||
return r;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ class A<T extends core::Object = dynamic> extends core::Object {
|
|||
}
|
||||
class B<T extends core::Object = dynamic> extends self::A<self::B::T> {
|
||||
constructor •() → self::B<self::B::T>
|
||||
: super self::A::•(#C1)
|
||||
: super self::A::•(const self::_Y::•<dynamic>())
|
||||
;
|
||||
}
|
||||
static method main() → dynamic {
|
||||
|
|
|
@ -15,7 +15,7 @@ class A<T extends core::Object = dynamic> extends core::Object {
|
|||
}
|
||||
class B<T extends core::Object = dynamic> extends self::A<self::B::T> {
|
||||
constructor •() → self::B<self::B::T>
|
||||
: super self::A::•(#C1)
|
||||
: super self::A::•(const self::_Y::•<dynamic>())
|
||||
;
|
||||
}
|
||||
static method main() → dynamic {
|
||||
|
|
|
@ -15,7 +15,7 @@ class A<T extends core::Object = dynamic> extends core::Object {
|
|||
}
|
||||
class B<T extends core::Object = dynamic> extends self::A<self::B::T> {
|
||||
constructor •() → self::B<self::B::T>
|
||||
: super self::A::•(#C1)
|
||||
: super self::A::•(const self::_Y::•<core::Null>())
|
||||
;
|
||||
}
|
||||
static method main() → dynamic {
|
||||
|
|
|
@ -15,7 +15,7 @@ class A<T extends core::Object = dynamic> extends core::Object {
|
|||
}
|
||||
class B<T extends core::Object = dynamic> extends self::A<self::B::T> {
|
||||
constructor •() → self::B<self::B::T>
|
||||
: super self::A::•(#C1)
|
||||
: super self::A::•(const self::_Y::•<core::Null>())
|
||||
;
|
||||
}
|
||||
static method main() → dynamic {
|
||||
|
|
|
@ -1784,7 +1784,7 @@ class B extends self::A {
|
|||
get foo() → core::int
|
||||
return 42;
|
||||
}
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = #C1]) → dynamic
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = null]) → dynamic
|
||||
return true;
|
||||
static method testIfElement(dynamic dynVar, core::List<core::int> listInt, core::List<core::double> listDouble, core::Map<core::String, core::int> mapToInt, core::Map<core::String, core::double> mapToDouble) → dynamic {
|
||||
dynamic list10 = <dynamic>[];
|
||||
|
|
|
@ -1784,7 +1784,7 @@ class B extends self::A {
|
|||
get foo() → core::int
|
||||
return 42;
|
||||
}
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = #C1]) → dynamic
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = null]) → dynamic
|
||||
return true;
|
||||
static method testIfElement(dynamic dynVar, core::List<core::int> listInt, core::List<core::double> listDouble, core::Map<core::String, core::int> mapToInt, core::Map<core::String, core::double> mapToDouble) → dynamic {
|
||||
dynamic list10 = <dynamic>[];
|
||||
|
|
|
@ -492,7 +492,7 @@ class B extends self::A {
|
|||
get foo() → core::int
|
||||
return 42;
|
||||
}
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = #C1]) → dynamic
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = null]) → dynamic
|
||||
return true;
|
||||
static method testIfElement(dynamic dynVar, core::List<core::int> listInt, core::List<core::double> listDouble, core::Map<core::String, core::int> mapToInt, core::Map<core::String, core::double> mapToDouble) → dynamic {
|
||||
core::List<core::int> list10 = block {
|
||||
|
|
|
@ -492,7 +492,7 @@ class B extends self::A {
|
|||
get foo() → core::int
|
||||
return 42;
|
||||
}
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = #C1]) → dynamic
|
||||
static method oracle<T extends core::Object = dynamic>([self::oracle::T t = null]) → dynamic
|
||||
return true;
|
||||
static method testIfElement(dynamic dynVar, core::List<core::int> listInt, core::List<core::double> listDouble, core::Map<core::String, core::int> mapToInt, core::Map<core::String, core::double> mapToDouble) → dynamic {
|
||||
core::List<core::int> list10 = block {
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method topLevel([dynamic a = #C1]) → dynamic
|
||||
static method topLevel([dynamic a = 42]) → dynamic
|
||||
return a;
|
||||
static method main() → dynamic {
|
||||
core::print(self::topLevel());
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method topLevel([dynamic a = #C1]) → dynamic
|
||||
static method topLevel([dynamic a = 42]) → dynamic
|
||||
return a;
|
||||
static method main() → dynamic {
|
||||
core::print(self::topLevel());
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method topLevel([dynamic a = #C1]) → dynamic
|
||||
static method topLevel([dynamic a = 42]) → dynamic
|
||||
return a;
|
||||
static method main() → dynamic {
|
||||
core::print(self::topLevel());
|
||||
|
|
|
@ -2,7 +2,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method topLevel([dynamic a = #C1]) → dynamic
|
||||
static method topLevel([dynamic a = 42]) → dynamic
|
||||
return a;
|
||||
static method main() → dynamic {
|
||||
core::print(self::topLevel());
|
||||
|
|
|
@ -410,7 +410,7 @@ class C extends core::Object {
|
|||
}
|
||||
class Sub extends core::Object {
|
||||
constructor •() → self::Sub
|
||||
: final dynamic #t1 = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 0, #C2, core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)))
|
||||
: final dynamic #t1 = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Object, 0, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})))
|
||||
;
|
||||
method m() → dynamic
|
||||
return super.m();
|
||||
|
@ -418,8 +418,8 @@ class Sub extends core::Object {
|
|||
class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#4> values = #C8;
|
||||
static const field self::Enum#4 a = #C7;
|
||||
static const field core::List<self::Enum#4> values = const <self::Enum#4>[self::Enum#4::a];
|
||||
static const field self::Enum#4 a = const self::Enum#4::•(0, "Enum.a");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#4
|
||||
: self::Enum#4::index = index, self::Enum#4::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -429,10 +429,10 @@ class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#3> values = #C16;
|
||||
static const field self::Enum#3 a = #C9;
|
||||
static const field self::Enum#3 b = #C12;
|
||||
static const field self::Enum#3 c = #C15;
|
||||
static const field core::List<self::Enum#3> values = const <self::Enum#3>[self::Enum#3::a, self::Enum#3::b, self::Enum#3::c];
|
||||
static const field self::Enum#3 a = const self::Enum#3::•(0, "Enum.a");
|
||||
static const field self::Enum#3 b = const self::Enum#3::•(1, "Enum.b");
|
||||
static const field self::Enum#3 c = const self::Enum#3::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#3
|
||||
: self::Enum#3::index = index, self::Enum#3::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -442,10 +442,10 @@ class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#2> values = #C21;
|
||||
static const field self::Enum#2 Enum = #C18;
|
||||
static const field self::Enum#2 a = #C19;
|
||||
static const field self::Enum#2 b = #C20;
|
||||
static const field core::List<self::Enum#2> values = const <self::Enum#2>[self::Enum#2::Enum, self::Enum#2::a, self::Enum#2::b];
|
||||
static const field self::Enum#2 Enum = const self::Enum#2::•(0, "Enum.Enum");
|
||||
static const field self::Enum#2 a = const self::Enum#2::•(1, "Enum.a");
|
||||
static const field self::Enum#2 b = const self::Enum#2::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#2
|
||||
: self::Enum#2::index = index, self::Enum#2::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -455,10 +455,10 @@ class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#1 extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#1> values = #C25;
|
||||
static const field self::Enum#1 a = #C22;
|
||||
static const field self::Enum#1 b = #C23;
|
||||
static const field self::Enum#1 c = #C24;
|
||||
static const field core::List<self::Enum#1> values = const <self::Enum#1>[self::Enum#1::a, self::Enum#1::b, self::Enum#1::c];
|
||||
static const field self::Enum#1 a = const self::Enum#1::•(0, "Enum.a");
|
||||
static const field self::Enum#1 b = const self::Enum#1::•(1, "Enum.b");
|
||||
static const field self::Enum#1 c = const self::Enum#1::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#1
|
||||
: self::Enum#1::index = index, self::Enum#1::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -468,10 +468,10 @@ class Enum#1 extends core::Object {
|
|||
class Enum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum> values = #C29;
|
||||
static const field self::Enum Enum = #C26;
|
||||
static const field self::Enum a = #C27;
|
||||
static const field self::Enum b = #C28;
|
||||
static const field core::List<self::Enum> values = const <self::Enum>[self::Enum::Enum, self::Enum::a, self::Enum::b];
|
||||
static const field self::Enum Enum = const self::Enum::•(0, "Enum.Enum");
|
||||
static const field self::Enum a = const self::Enum::•(1, "Enum.a");
|
||||
static const field self::Enum b = const self::Enum::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum
|
||||
: self::Enum::index = index, self::Enum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -481,10 +481,10 @@ class Enum extends core::Object {
|
|||
class AnotherEnum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::AnotherEnum> values = #C36;
|
||||
static const field self::AnotherEnum a = #C31;
|
||||
static const field self::AnotherEnum b = #C33;
|
||||
static const field self::AnotherEnum c = #C35;
|
||||
static const field core::List<self::AnotherEnum> values = const <self::AnotherEnum>[self::AnotherEnum::a, self::AnotherEnum::b, self::AnotherEnum::c];
|
||||
static const field self::AnotherEnum a = const self::AnotherEnum::•(0, "AnotherEnum.a");
|
||||
static const field self::AnotherEnum b = const self::AnotherEnum::•(1, "AnotherEnum.b");
|
||||
static const field self::AnotherEnum c = const self::AnotherEnum::•(2, "AnotherEnum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::AnotherEnum
|
||||
: self::AnotherEnum::index = index, self::AnotherEnum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -507,7 +507,7 @@ static method foo() → dynamic {
|
|||
^".s();
|
||||
}
|
||||
static method useAnotherEnum() → dynamic {
|
||||
<core::String, core::Object>{"AnotherEnum.a": #C31, "AnotherEnum.b": #C33, "AnotherEnum.c": #C35, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
<core::String, core::Object>{"AnotherEnum.a": self::AnotherEnum::a, "AnotherEnum.b": self::AnotherEnum::b, "AnotherEnum.c": self::AnotherEnum::c, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
\"AnotherEnum._name\": AnotherEnum._name,
|
||||
^^^^^", "AnotherEnum.index": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:103:38: Error: Can't use 'index' because it is declared more than once.
|
||||
\"AnotherEnum.index\": AnotherEnum.index,
|
||||
|
|
|
@ -410,7 +410,7 @@ class C extends core::Object {
|
|||
}
|
||||
class Sub extends core::Object {
|
||||
constructor •() → self::Sub
|
||||
: final dynamic #t1 = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 0, #C2, core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)))
|
||||
: final dynamic #t1 = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Object, 0, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[null]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})))
|
||||
;
|
||||
method m() → dynamic
|
||||
return super.m();
|
||||
|
@ -418,8 +418,8 @@ class Sub extends core::Object {
|
|||
class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#4> values = #C8;
|
||||
static const field self::Enum#4 a = #C7;
|
||||
static const field core::List<self::Enum#4> values = const <self::Enum#4>[self::Enum#4::a];
|
||||
static const field self::Enum#4 a = const self::Enum#4::•(0, "Enum.a");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#4
|
||||
: self::Enum#4::index = index, self::Enum#4::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -429,10 +429,10 @@ class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#3> values = #C16;
|
||||
static const field self::Enum#3 a = #C9;
|
||||
static const field self::Enum#3 b = #C12;
|
||||
static const field self::Enum#3 c = #C15;
|
||||
static const field core::List<self::Enum#3> values = const <self::Enum#3>[self::Enum#3::a, self::Enum#3::b, self::Enum#3::c];
|
||||
static const field self::Enum#3 a = const self::Enum#3::•(0, "Enum.a");
|
||||
static const field self::Enum#3 b = const self::Enum#3::•(1, "Enum.b");
|
||||
static const field self::Enum#3 c = const self::Enum#3::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#3
|
||||
: self::Enum#3::index = index, self::Enum#3::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -442,10 +442,10 @@ class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#2> values = #C21;
|
||||
static const field self::Enum#2 Enum = #C18;
|
||||
static const field self::Enum#2 a = #C19;
|
||||
static const field self::Enum#2 b = #C20;
|
||||
static const field core::List<self::Enum#2> values = const <self::Enum#2>[self::Enum#2::Enum, self::Enum#2::a, self::Enum#2::b];
|
||||
static const field self::Enum#2 Enum = const self::Enum#2::•(0, "Enum.Enum");
|
||||
static const field self::Enum#2 a = const self::Enum#2::•(1, "Enum.a");
|
||||
static const field self::Enum#2 b = const self::Enum#2::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#2
|
||||
: self::Enum#2::index = index, self::Enum#2::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -455,10 +455,10 @@ class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#1 extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#1> values = #C25;
|
||||
static const field self::Enum#1 a = #C22;
|
||||
static const field self::Enum#1 b = #C23;
|
||||
static const field self::Enum#1 c = #C24;
|
||||
static const field core::List<self::Enum#1> values = const <self::Enum#1>[self::Enum#1::a, self::Enum#1::b, self::Enum#1::c];
|
||||
static const field self::Enum#1 a = const self::Enum#1::•(0, "Enum.a");
|
||||
static const field self::Enum#1 b = const self::Enum#1::•(1, "Enum.b");
|
||||
static const field self::Enum#1 c = const self::Enum#1::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#1
|
||||
: self::Enum#1::index = index, self::Enum#1::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -468,10 +468,10 @@ class Enum#1 extends core::Object {
|
|||
class Enum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum> values = #C29;
|
||||
static const field self::Enum Enum = #C26;
|
||||
static const field self::Enum a = #C27;
|
||||
static const field self::Enum b = #C28;
|
||||
static const field core::List<self::Enum> values = const <self::Enum>[self::Enum::Enum, self::Enum::a, self::Enum::b];
|
||||
static const field self::Enum Enum = const self::Enum::•(0, "Enum.Enum");
|
||||
static const field self::Enum a = const self::Enum::•(1, "Enum.a");
|
||||
static const field self::Enum b = const self::Enum::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum
|
||||
: self::Enum::index = index, self::Enum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -481,10 +481,10 @@ class Enum extends core::Object {
|
|||
class AnotherEnum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::AnotherEnum> values = #C36;
|
||||
static const field self::AnotherEnum a = #C31;
|
||||
static const field self::AnotherEnum b = #C33;
|
||||
static const field self::AnotherEnum c = #C35;
|
||||
static const field core::List<self::AnotherEnum> values = const <self::AnotherEnum>[self::AnotherEnum::a, self::AnotherEnum::b, self::AnotherEnum::c];
|
||||
static const field self::AnotherEnum a = const self::AnotherEnum::•(0, "AnotherEnum.a");
|
||||
static const field self::AnotherEnum b = const self::AnotherEnum::•(1, "AnotherEnum.b");
|
||||
static const field self::AnotherEnum c = const self::AnotherEnum::•(2, "AnotherEnum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::AnotherEnum
|
||||
: self::AnotherEnum::index = index, self::AnotherEnum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -507,7 +507,7 @@ static method foo() → dynamic {
|
|||
^".s();
|
||||
}
|
||||
static method useAnotherEnum() → dynamic {
|
||||
<core::String, core::Object>{"AnotherEnum.a": #C31, "AnotherEnum.b": #C33, "AnotherEnum.c": #C35, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
<core::String, core::Object>{"AnotherEnum.a": self::AnotherEnum::a, "AnotherEnum.b": self::AnotherEnum::b, "AnotherEnum.c": self::AnotherEnum::c, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
\"AnotherEnum._name\": AnotherEnum._name,
|
||||
^^^^^", "AnotherEnum.index": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:103:38: Error: Can't use 'index' because it is declared more than once.
|
||||
\"AnotherEnum.index\": AnotherEnum.index,
|
||||
|
|
|
@ -421,8 +421,8 @@ Try removing the extra positional arguments.
|
|||
class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#4> values = #C4;
|
||||
static const field self::Enum#4 a = #C3;
|
||||
static const field core::List<self::Enum#4> values = const <self::Enum#4>[self::Enum#4::a];
|
||||
static const field self::Enum#4 a = const self::Enum#4::•(0, "Enum.a");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#4
|
||||
: self::Enum#4::index = index, self::Enum#4::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -432,10 +432,10 @@ class Enum#4 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#3> values = #C12;
|
||||
static const field self::Enum#3 a = #C5;
|
||||
static const field self::Enum#3 b = #C8;
|
||||
static const field self::Enum#3 c = #C11;
|
||||
static const field core::List<self::Enum#3> values = const <self::Enum#3>[self::Enum#3::a, self::Enum#3::b, self::Enum#3::c];
|
||||
static const field self::Enum#3 a = const self::Enum#3::•(0, "Enum.a");
|
||||
static const field self::Enum#3 b = const self::Enum#3::•(1, "Enum.b");
|
||||
static const field self::Enum#3 c = const self::Enum#3::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#3
|
||||
: self::Enum#3::index = index, self::Enum#3::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -445,10 +445,10 @@ class Enum#3 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#2> values = #C17;
|
||||
static const field self::Enum#2 Enum = #C14;
|
||||
static const field self::Enum#2 a = #C15;
|
||||
static const field self::Enum#2 b = #C16;
|
||||
static const field core::List<self::Enum#2> values = const <self::Enum#2>[self::Enum#2::Enum, self::Enum#2::a, self::Enum#2::b];
|
||||
static const field self::Enum#2 Enum = const self::Enum#2::•(0, "Enum.Enum");
|
||||
static const field self::Enum#2 a = const self::Enum#2::•(1, "Enum.a");
|
||||
static const field self::Enum#2 b = const self::Enum#2::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#2
|
||||
: self::Enum#2::index = index, self::Enum#2::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -458,10 +458,10 @@ class Enum#2 extends core::Object { // from org-dartlang-testcase:///duplicated_
|
|||
class Enum#1 extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum#1> values = #C21;
|
||||
static const field self::Enum#1 a = #C18;
|
||||
static const field self::Enum#1 b = #C19;
|
||||
static const field self::Enum#1 c = #C20;
|
||||
static const field core::List<self::Enum#1> values = const <self::Enum#1>[self::Enum#1::a, self::Enum#1::b, self::Enum#1::c];
|
||||
static const field self::Enum#1 a = const self::Enum#1::•(0, "Enum.a");
|
||||
static const field self::Enum#1 b = const self::Enum#1::•(1, "Enum.b");
|
||||
static const field self::Enum#1 c = const self::Enum#1::•(2, "Enum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum#1
|
||||
: self::Enum#1::index = index, self::Enum#1::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -471,10 +471,10 @@ class Enum#1 extends core::Object {
|
|||
class Enum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::Enum> values = #C25;
|
||||
static const field self::Enum Enum = #C22;
|
||||
static const field self::Enum a = #C23;
|
||||
static const field self::Enum b = #C24;
|
||||
static const field core::List<self::Enum> values = const <self::Enum>[self::Enum::Enum, self::Enum::a, self::Enum::b];
|
||||
static const field self::Enum Enum = const self::Enum::•(0, "Enum.Enum");
|
||||
static const field self::Enum a = const self::Enum::•(1, "Enum.a");
|
||||
static const field self::Enum b = const self::Enum::•(2, "Enum.b");
|
||||
const constructor •(core::int index, core::String _name) → self::Enum
|
||||
: self::Enum::index = index, self::Enum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -484,10 +484,10 @@ class Enum extends core::Object {
|
|||
class AnotherEnum extends core::Object {
|
||||
final field core::int index;
|
||||
final field core::String _name;
|
||||
static const field core::List<self::AnotherEnum> values = #C32;
|
||||
static const field self::AnotherEnum a = #C27;
|
||||
static const field self::AnotherEnum b = #C29;
|
||||
static const field self::AnotherEnum c = #C31;
|
||||
static const field core::List<self::AnotherEnum> values = const <self::AnotherEnum>[self::AnotherEnum::a, self::AnotherEnum::b, self::AnotherEnum::c];
|
||||
static const field self::AnotherEnum a = const self::AnotherEnum::•(0, "AnotherEnum.a");
|
||||
static const field self::AnotherEnum b = const self::AnotherEnum::•(1, "AnotherEnum.b");
|
||||
static const field self::AnotherEnum c = const self::AnotherEnum::•(2, "AnotherEnum.c");
|
||||
const constructor •(core::int index, core::String _name) → self::AnotherEnum
|
||||
: self::AnotherEnum::index = index, self::AnotherEnum::_name = _name, super core::Object::•()
|
||||
;
|
||||
|
@ -510,7 +510,7 @@ static method foo() → dynamic {
|
|||
^".s();
|
||||
}
|
||||
static method useAnotherEnum() → dynamic {
|
||||
<core::String, core::Object>{"AnotherEnum.a": #C27, "AnotherEnum.b": #C29, "AnotherEnum.c": #C31, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
<core::String, core::Object>{"AnotherEnum.a": self::AnotherEnum::a, "AnotherEnum.b": self::AnotherEnum::b, "AnotherEnum.c": self::AnotherEnum::c, "AnotherEnum._name": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:102:38: Error: Can't use '_name' because it is declared more than once.
|
||||
\"AnotherEnum._name\": AnotherEnum._name,
|
||||
^^^^^", "AnotherEnum.index": invalid-expression "pkg/front_end/testcases/duplicated_declarations.dart:103:38: Error: Can't use 'index' because it is declared more than once.
|
||||
\"AnotherEnum.index\": AnotherEnum.index,
|
||||
|
|
|
@ -6,7 +6,7 @@ class C extends core::Object {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
static method m({core::int a = #C1}) → dynamic {}
|
||||
static method m({core::int a = 0}) → dynamic {}
|
||||
}
|
||||
static method test() → void {
|
||||
self::C::m(a: 1, a: 2, a: 3);
|
||||
|
|
|
@ -6,7 +6,7 @@ class C extends core::Object {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
static method m({core::int a = #C1}) → dynamic {}
|
||||
static method m({core::int a = 0}) → dynamic {}
|
||||
}
|
||||
static method test() → void {
|
||||
self::C::m(a: 1, a: 2, a: 3);
|
||||
|
|
|
@ -17,7 +17,7 @@ class C extends core::Object {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
static method m({core::int a = #C1}) → dynamic {}
|
||||
static method m({core::int a = 0}) → dynamic {}
|
||||
}
|
||||
static method test() → void {
|
||||
self::C::m(a: invalid-expression "pkg/front_end/testcases/duplicated_named_args_3.dart:13:19: Error: Duplicated named argument 'a'.
|
||||
|
|
|
@ -17,7 +17,7 @@ class C extends core::Object {
|
|||
synthetic constructor •() → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
static method m({core::int a = #C1}) → dynamic {}
|
||||
static method m({core::int a = 0}) → dynamic {}
|
||||
}
|
||||
static method test() → void {
|
||||
self::C::m(a: invalid-expression "pkg/front_end/testcases/duplicated_named_args_3.dart:13:19: Error: Duplicated named argument 'a'.
|
||||
|
|
|
@ -9,7 +9,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method foo({dynamic fisk = #C1}) → dynamic {
|
||||
static method foo({dynamic fisk = null}) → dynamic {
|
||||
core::print(fisk);
|
||||
}
|
||||
static method caller(dynamic f) → dynamic {
|
||||
|
@ -48,7 +48,7 @@ static method main() → dynamic {
|
|||
core::print(let final dynamic #t1 = i in let final dynamic #t2 = i = #t1.-(1) in #t1);
|
||||
core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1) in #t3);
|
||||
core::print(new core::Object::•());
|
||||
core::print(#C2);
|
||||
core::print(const core::Object::•());
|
||||
core::print(core::List::•<core::String>(2).runtimeType);
|
||||
self::foo(fisk: "Blorp gulp");
|
||||
function f() → dynamic {
|
||||
|
@ -58,25 +58,25 @@ static method main() → dynamic {
|
|||
self::caller(() → dynamic {
|
||||
core::print("<anon> was called");
|
||||
});
|
||||
function g([dynamic message = #C1]) → dynamic {
|
||||
function g([dynamic message = null]) → dynamic {
|
||||
core::print(message);
|
||||
}
|
||||
g.call("Hello, World");
|
||||
self::caller(([dynamic x = #C1]) → dynamic {
|
||||
self::caller(([dynamic x = null]) → dynamic {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
function h({dynamic message = #C1}) → dynamic {
|
||||
function h({dynamic message = null}) → dynamic {
|
||||
core::print(message);
|
||||
}
|
||||
h.call(message: "Hello, World");
|
||||
self::caller(({dynamic x = #C1}) → dynamic {
|
||||
self::caller(({dynamic x = null}) → dynamic {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
core::print(core::int.toString());
|
||||
core::print(core::int);
|
||||
core::print(let final dynamic #t5 = core::int in let final dynamic #t6 = #t5.toString() in #t5);
|
||||
try {
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C3, 32, #C4, #C5, core::Map::unmodifiable<core::Symbol, dynamic>(#C6))));
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#int.toString, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))));
|
||||
throw "Shouldn't work";
|
||||
}
|
||||
on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
|
||||
|
|
|
@ -9,7 +9,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method foo({dynamic fisk = #C1}) → dynamic {
|
||||
static method foo({dynamic fisk = null}) → dynamic {
|
||||
core::print(fisk);
|
||||
}
|
||||
static method caller(dynamic f) → dynamic {
|
||||
|
@ -48,7 +48,7 @@ static method main() → dynamic {
|
|||
core::print(let final dynamic #t1 = i in let final dynamic #t2 = i = #t1.-(1) in #t1);
|
||||
core::print(let final dynamic #t3 = i in let final dynamic #t4 = i = #t3.+(1) in #t3);
|
||||
core::print(new core::Object::•());
|
||||
core::print(#C2);
|
||||
core::print(const core::Object::•());
|
||||
core::print(core::_List::•<core::String>(2).runtimeType);
|
||||
self::foo(fisk: "Blorp gulp");
|
||||
function f() → dynamic {
|
||||
|
@ -58,25 +58,25 @@ static method main() → dynamic {
|
|||
self::caller(() → dynamic {
|
||||
core::print("<anon> was called");
|
||||
});
|
||||
function g([dynamic message = #C1]) → dynamic {
|
||||
function g([dynamic message = null]) → dynamic {
|
||||
core::print(message);
|
||||
}
|
||||
g.call("Hello, World");
|
||||
self::caller(([dynamic x = #C1]) → dynamic {
|
||||
self::caller(([dynamic x = null]) → dynamic {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
function h({dynamic message = #C1}) → dynamic {
|
||||
function h({dynamic message = null}) → dynamic {
|
||||
core::print(message);
|
||||
}
|
||||
h.call(message: "Hello, World");
|
||||
self::caller(({dynamic x = #C1}) → dynamic {
|
||||
self::caller(({dynamic x = null}) → dynamic {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
core::print(core::int.toString());
|
||||
core::print(core::int);
|
||||
core::print(let final dynamic #t5 = core::int in let final dynamic #t6 = #t5.toString() in #t5);
|
||||
try {
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C3, 32, #C4, #C5, core::Map::unmodifiable<core::Symbol, dynamic>(#C6))));
|
||||
core::print(throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#int.toString, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{}))));
|
||||
throw "Shouldn't work";
|
||||
}
|
||||
on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
|
||||
|
|
|
@ -9,7 +9,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method foo({dynamic fisk = #C1}) → dynamic {
|
||||
static method foo({dynamic fisk = null}) → dynamic {
|
||||
core::print(fisk);
|
||||
}
|
||||
static method caller(dynamic f) → dynamic {
|
||||
|
@ -48,7 +48,7 @@ static method main() → dynamic {
|
|||
core::print(let final core::int #t1 = i in let final core::int #t2 = i = #t1.{core::num::-}(1) in #t1);
|
||||
core::print(let final core::int #t3 = i in let final core::int #t4 = i = #t3.{core::num::+}(1) in #t3);
|
||||
core::print(new core::Object::•());
|
||||
core::print(#C2);
|
||||
core::print(const core::Object::•());
|
||||
core::print(core::List::•<core::String>(2).{core::Object::runtimeType});
|
||||
self::foo(fisk: "Blorp gulp");
|
||||
function f() → core::Null {
|
||||
|
@ -58,18 +58,18 @@ static method main() → dynamic {
|
|||
self::caller(() → core::Null {
|
||||
core::print("<anon> was called");
|
||||
});
|
||||
function g([dynamic message = #C1]) → core::Null {
|
||||
function g([dynamic message = null]) → core::Null {
|
||||
core::print(message);
|
||||
}
|
||||
g.call("Hello, World");
|
||||
self::caller(([dynamic x = #C1]) → core::Null {
|
||||
self::caller(([dynamic x = null]) → core::Null {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
function h({dynamic message = #C1}) → core::Null {
|
||||
function h({dynamic message = null}) → core::Null {
|
||||
core::print(message);
|
||||
}
|
||||
h.call(message: "Hello, World");
|
||||
self::caller(({dynamic x = #C1}) → core::Null {
|
||||
self::caller(({dynamic x = null}) → core::Null {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
core::print(core::int.{core::Object::toString}());
|
||||
|
|
|
@ -9,7 +9,7 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static method foo({dynamic fisk = #C1}) → dynamic {
|
||||
static method foo({dynamic fisk = null}) → dynamic {
|
||||
core::print(fisk);
|
||||
}
|
||||
static method caller(dynamic f) → dynamic {
|
||||
|
@ -48,7 +48,7 @@ static method main() → dynamic {
|
|||
core::print(let final core::int #t1 = i in let final core::int #t2 = i = #t1.{core::num::-}(1) in #t1);
|
||||
core::print(let final core::int #t3 = i in let final core::int #t4 = i = #t3.{core::num::+}(1) in #t3);
|
||||
core::print(new core::Object::•());
|
||||
core::print(#C2);
|
||||
core::print(const core::Object::•());
|
||||
core::print(core::_List::•<core::String>(2).{core::Object::runtimeType});
|
||||
self::foo(fisk: "Blorp gulp");
|
||||
function f() → core::Null {
|
||||
|
@ -58,18 +58,18 @@ static method main() → dynamic {
|
|||
self::caller(() → core::Null {
|
||||
core::print("<anon> was called");
|
||||
});
|
||||
function g([dynamic message = #C1]) → core::Null {
|
||||
function g([dynamic message = null]) → core::Null {
|
||||
core::print(message);
|
||||
}
|
||||
g.call("Hello, World");
|
||||
self::caller(([dynamic x = #C1]) → core::Null {
|
||||
self::caller(([dynamic x = null]) → core::Null {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
function h({dynamic message = #C1}) → core::Null {
|
||||
function h({dynamic message = null}) → core::Null {
|
||||
core::print(message);
|
||||
}
|
||||
h.call(message: "Hello, World");
|
||||
self::caller(({dynamic x = #C1}) → core::Null {
|
||||
self::caller(({dynamic x = null}) → core::Null {
|
||||
core::print("<anon> was called with ${x}");
|
||||
});
|
||||
core::print(core::int.{core::Object::toString}());
|
||||
|
|
|
@ -13,6 +13,6 @@ static method onData(dynamic x) → void {
|
|||
static method main() → dynamic {
|
||||
dynamic string = core::String::fromCharCode(65);
|
||||
dynamic port = iso::ReceivePort::•();
|
||||
self::subscription = port.listen(#C1);
|
||||
self::subscription = port.listen(self::onData);
|
||||
port.sendPort.send(string);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@ static method onData(dynamic x) → void {
|
|||
static method main() → dynamic {
|
||||
dynamic string = core::String::fromCharCode(65);
|
||||
dynamic port = iso::ReceivePort::•();
|
||||
self::subscription = port.listen(#C1);
|
||||
self::subscription = port.listen(self::onData);
|
||||
port.sendPort.send(string);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@ static method onData(dynamic x) → void {
|
|||
static method main() → dynamic {
|
||||
core::String string = core::String::fromCharCode(65);
|
||||
iso::ReceivePort port = iso::ReceivePort::•();
|
||||
self::subscription = port.{iso::ReceivePort::listen}(#C1);
|
||||
self::subscription = port.{iso::ReceivePort::listen}(self::onData);
|
||||
port.{iso::ReceivePort::sendPort}.{iso::SendPort::send}(string);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@ static method onData(dynamic x) → void {
|
|||
static method main() → dynamic {
|
||||
core::String string = core::String::fromCharCode(65);
|
||||
iso::ReceivePort port = iso::ReceivePort::•();
|
||||
self::subscription = port.{iso::ReceivePort::listen}(#C1);
|
||||
self::subscription = port.{iso::ReceivePort::listen}(self::onData);
|
||||
port.{iso::ReceivePort::sendPort}.{iso::SendPort::send}(string);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@#C2
|
||||
@#C4
|
||||
@#C6
|
||||
@dart._internal::ExternalName::•("dart-ext:here")
|
||||
@dart._internal::ExternalName::•("dart-ext:foo/../there")
|
||||
@dart._internal::ExternalName::•("dart-ext:/usr/local/somewhere")
|
||||
library;
|
||||
import self as self;
|
||||
import "dart:_internal" as _in;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@#C2
|
||||
@#C4
|
||||
@#C6
|
||||
@dart._internal::ExternalName::•("dart-ext:here")
|
||||
@dart._internal::ExternalName::•("dart-ext:foo/../there")
|
||||
@dart._internal::ExternalName::•("dart-ext:/usr/local/somewhere")
|
||||
library;
|
||||
import self as self;
|
||||
import "dart:_internal" as _in;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@#C2
|
||||
@#C4
|
||||
@#C6
|
||||
@dart._internal::ExternalName::•("dart-ext:here")
|
||||
@dart._internal::ExternalName::•("dart-ext:foo/../there")
|
||||
@dart._internal::ExternalName::•("dart-ext:/usr/local/somewhere")
|
||||
library;
|
||||
import self as self;
|
||||
import "dart:_internal" as _in;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@#C2
|
||||
@#C4
|
||||
@#C6
|
||||
@dart._internal::ExternalName::•("dart-ext:here")
|
||||
@dart._internal::ExternalName::•("dart-ext:foo/../there")
|
||||
@dart._internal::ExternalName::•("dart-ext:/usr/local/somewhere")
|
||||
library;
|
||||
import self as self;
|
||||
import "dart:_internal" as _in;
|
||||
|
|
|
@ -146,8 +146,9 @@ class C extends self::Super {
|
|||
core::print(y);
|
||||
}
|
||||
}
|
||||
const core::int constant = 0;
|
||||
for (final dynamic #t18 in <dynamic>[]) {
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 34, #C2, core::List::unmodifiable<dynamic>(<dynamic>[#t18]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#constant, 34, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[#t18]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -146,8 +146,9 @@ class C extends self::Super {
|
|||
core::print(y);
|
||||
}
|
||||
}
|
||||
const core::int constant = 0;
|
||||
for (final dynamic #t18 in <dynamic>[]) {
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 34, #C2, core::List::unmodifiable<dynamic>(<dynamic>[#t18]), core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#constant, 34, const <core::Type>[], core::List::unmodifiable<dynamic>(<dynamic>[#t18]), core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -176,6 +176,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
|
|||
core::print(y);
|
||||
}
|
||||
}
|
||||
const core::int constant = 0;
|
||||
for (final dynamic #t18 in <dynamic>[]) {
|
||||
invalid-expression "pkg/front_end/testcases/for_in_without_declaration.dart:46:10: Error: Setter not found: 'constant'.
|
||||
for (constant in []) {}
|
||||
|
|
|
@ -176,6 +176,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
|
|||
core::print(y);
|
||||
}
|
||||
}
|
||||
const core::int constant = 0;
|
||||
for (final dynamic #t18 in <dynamic>[]) {
|
||||
invalid-expression "pkg/front_end/testcases/for_in_without_declaration.dart:46:10: Error: Setter not found: 'constant'.
|
||||
for (constant in []) {}
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static field core::String x = #C1;
|
||||
static field core::String y = #C2;
|
||||
static field core::String z = #C3;
|
||||
static field core::String x = self::identity;
|
||||
static field core::String y = self::identityObject;
|
||||
static field core::String z = self::identityList;
|
||||
static method identity<T extends core::Object = dynamic>(self::identity::T t) → self::identity::T
|
||||
return t;
|
||||
static method identityObject<T extends core::Object = dynamic>(self::identityObject::T t) → self::identityObject::T
|
||||
|
|
|
@ -2,9 +2,9 @@ library;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static field core::String x = #C1;
|
||||
static field core::String y = #C2;
|
||||
static field core::String z = #C3;
|
||||
static field core::String x = self::identity;
|
||||
static field core::String y = self::identityObject;
|
||||
static field core::String z = self::identityList;
|
||||
static method identity<T extends core::Object = dynamic>(self::identity::T t) → self::identity::T
|
||||
return t;
|
||||
static method identityObject<T extends core::Object = dynamic>(self::identityObject::T t) → self::identityObject::T
|
||||
|
|
|
@ -25,17 +25,17 @@ import "dart:core" as core;
|
|||
static field core::String x = let final<BottomType> #t1 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:11:12: Error: A value of type 'T Function<T>(T)' can't be assigned to a variable of type 'String'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String x = identity; // No bound
|
||||
^" in (#C1) as{TypeError} core::String;
|
||||
^" in self::identity as{TypeError} core::String;
|
||||
static field core::String y = let final<BottomType> #t2 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:12:12: Error: A value of type 'T Function<T extends Object>(T)' can't be assigned to a variable of type 'String'.
|
||||
- 'Object' is from 'dart:core'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String y = identityObject; // Object bound
|
||||
^" in (#C2) as{TypeError} core::String;
|
||||
^" in self::identityObject as{TypeError} core::String;
|
||||
static field core::String z = let final<BottomType> #t3 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:13:12: Error: A value of type 'T Function<T extends List<T>>(T)' can't be assigned to a variable of type 'String'.
|
||||
- 'List' is from 'dart:core'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String z = identityList; // List<T> bound
|
||||
^" in (#C3) as{TypeError} core::String;
|
||||
^" in self::identityList as{TypeError} core::String;
|
||||
static method identity<T extends core::Object = dynamic>(self::identity::T t) → self::identity::T
|
||||
return t;
|
||||
static method identityObject<T extends core::Object = core::Object>(self::identityObject::T t) → self::identityObject::T
|
||||
|
|
|
@ -25,17 +25,17 @@ import "dart:core" as core;
|
|||
static field core::String x = let final<BottomType> #t1 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:11:12: Error: A value of type 'T Function<T>(T)' can't be assigned to a variable of type 'String'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String x = identity; // No bound
|
||||
^" in (#C1) as{TypeError} core::String;
|
||||
^" in self::identity as{TypeError} core::String;
|
||||
static field core::String y = let final<BottomType> #t2 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:12:12: Error: A value of type 'T Function<T extends Object>(T)' can't be assigned to a variable of type 'String'.
|
||||
- 'Object' is from 'dart:core'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String y = identityObject; // Object bound
|
||||
^" in (#C2) as{TypeError} core::String;
|
||||
^" in self::identityObject as{TypeError} core::String;
|
||||
static field core::String z = let final<BottomType> #t3 = invalid-expression "pkg/front_end/testcases/function_type_assignments.dart:13:12: Error: A value of type 'T Function<T extends List<T>>(T)' can't be assigned to a variable of type 'String'.
|
||||
- 'List' is from 'dart:core'.
|
||||
Try changing the type of the left hand side, or casting the right hand side to 'String'.
|
||||
String z = identityList; // List<T> bound
|
||||
^" in (#C3) as{TypeError} core::String;
|
||||
^" in self::identityList as{TypeError} core::String;
|
||||
static method identity<T extends core::Object = dynamic>(self::identity::T t) → self::identity::T
|
||||
return t;
|
||||
static method identityObject<T extends core::Object = core::Object>(self::identityObject::T t) → self::identityObject::T
|
||||
|
|
|
@ -7,7 +7,7 @@ static method main() → dynamic {
|
|||
f.call(a: "Hello, World");
|
||||
f.call();
|
||||
}
|
||||
local.call(({dynamic a = #C1}) → dynamic {
|
||||
local.call(({dynamic a = "Default greeting!"}) → dynamic {
|
||||
core::print(a);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ static method main() → dynamic {
|
|||
f.call(a: "Hello, World");
|
||||
f.call();
|
||||
}
|
||||
local.call(({dynamic a = #C1}) → dynamic {
|
||||
local.call(({dynamic a = "Default greeting!"}) → dynamic {
|
||||
core::print(a);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ static method main() → dynamic {
|
|||
f.call(a: "Hello, World");
|
||||
f.call();
|
||||
}
|
||||
local.call(({dynamic a = #C1}) → core::Null {
|
||||
local.call(({dynamic a = "Default greeting!"}) → core::Null {
|
||||
core::print(a);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ static method main() → dynamic {
|
|||
f.call(a: "Hello, World");
|
||||
f.call();
|
||||
}
|
||||
local.call(({dynamic a = #C1}) → core::Null {
|
||||
local.call(({dynamic a = "Default greeting!"}) → core::Null {
|
||||
core::print(a);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -3,13 +3,13 @@ import self as self;
|
|||
import "dart:core" as core;
|
||||
|
||||
class C extends core::Object {
|
||||
static const field dynamic constField = #C1;
|
||||
static const field dynamic constField = 87;
|
||||
const constructor •(dynamic x) → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field dynamic constTopLevelField = #C2;
|
||||
static const field dynamic constTopLevelField = 42;
|
||||
static method main() → dynamic {
|
||||
new self::C::•(#C1);
|
||||
new self::C::•(#C2);
|
||||
new self::C::•(self::C::constField);
|
||||
new self::C::•(self::constTopLevelField);
|
||||
}
|
||||
|
|
|
@ -3,13 +3,13 @@ import self as self;
|
|||
import "dart:core" as core;
|
||||
|
||||
class C extends core::Object {
|
||||
static const field dynamic constField = #C1;
|
||||
static const field dynamic constField = 87;
|
||||
const constructor •(dynamic x) → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field dynamic constTopLevelField = #C2;
|
||||
static const field dynamic constTopLevelField = 42;
|
||||
static method main() → dynamic {
|
||||
new self::C::•(#C1);
|
||||
new self::C::•(#C2);
|
||||
new self::C::•(self::C::constField);
|
||||
new self::C::•(self::constTopLevelField);
|
||||
}
|
||||
|
|
|
@ -3,13 +3,13 @@ import self as self;
|
|||
import "dart:core" as core;
|
||||
|
||||
class C extends core::Object {
|
||||
static const field core::int constField = #C1;
|
||||
static const field core::int constField = 87;
|
||||
const constructor •(dynamic x) → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::int constTopLevelField = #C2;
|
||||
static const field core::int constTopLevelField = 42;
|
||||
static method main() → dynamic {
|
||||
new self::C::•(#C1);
|
||||
new self::C::•(#C2);
|
||||
new self::C::•(self::C::constField);
|
||||
new self::C::•(self::constTopLevelField);
|
||||
}
|
||||
|
|
|
@ -3,13 +3,13 @@ import self as self;
|
|||
import "dart:core" as core;
|
||||
|
||||
class C extends core::Object {
|
||||
static const field core::int constField = #C1;
|
||||
static const field core::int constField = 87;
|
||||
const constructor •(dynamic x) → self::C
|
||||
: super core::Object::•()
|
||||
;
|
||||
}
|
||||
static const field core::int constTopLevelField = #C2;
|
||||
static const field core::int constTopLevelField = 42;
|
||||
static method main() → dynamic {
|
||||
new self::C::•(#C1);
|
||||
new self::C::•(#C2);
|
||||
new self::C::•(self::C::constField);
|
||||
new self::C::•(self::constTopLevelField);
|
||||
}
|
||||
|
|
|
@ -38,8 +38,8 @@ class IndexTester extends core::Object {
|
|||
operator []=(dynamic _a, dynamic _b) → void {}
|
||||
}
|
||||
static method testNSM() → dynamic {
|
||||
dynamic y = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
dynamic y = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Bar, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Bar, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
static method f(dynamic x) → dynamic
|
||||
return x;
|
||||
|
|
|
@ -38,8 +38,8 @@ class IndexTester extends core::Object {
|
|||
operator []=(dynamic _a, dynamic _b) → void {}
|
||||
}
|
||||
static method testNSM() → dynamic {
|
||||
dynamic y = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#C1, 32, #C2, #C3, core::Map::unmodifiable<core::Symbol, dynamic>(#C4)));
|
||||
dynamic y = throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Bar, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#Bar, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(const <core::Symbol, dynamic>{})));
|
||||
}
|
||||
static method f(dynamic x) → dynamic
|
||||
return x;
|
||||
|
|
|
@ -2,9 +2,9 @@ library test;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static field dynamic g = #C1;
|
||||
static field dynamic g = self::f;
|
||||
static method f() → core::String
|
||||
return null;
|
||||
static method main() → dynamic {
|
||||
#C1;
|
||||
self::f;
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@ library test;
|
|||
import self as self;
|
||||
import "dart:core" as core;
|
||||
|
||||
static field dynamic g = #C1;
|
||||
static field dynamic g = self::f;
|
||||
static method f() → core::String
|
||||
return null;
|
||||
static method main() → dynamic {
|
||||
#C1;
|
||||
self::f;
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue