blob: 3fa1f09c825c26e80b2a34e40ae64d138ac1b2f5 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Cat extends core::Object {
synthetic constructor •() self::Cat
;
method eatFood(core::String food) core::bool
;
}
class MockCat extends core::Object implements self::Cat {
synthetic constructor •() self::MockCat
;
method noSuchMethod(core::Invocation invocation) dynamic
;
no-such-method-forwarder method eatFood(core::String food) core::bool
return this.{self::MockCat::noSuchMethod}(new core::_InvocationMirror::_withType(#eatFood, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[food]), core::Map::unmodifiable<core::Symbol*, dynamic>(const <core::Symbol*, dynamic>{}))){(core::Invocation) dynamic} as{TypeError,ForDynamic} core::bool;
}
class MockCat2 extends self::MockCat {
synthetic constructor •() self::MockCat2
;
abstract method noSuchMethod(core::Invocation _) dynamic;
}
class MockCat3 extends self::MockCat2 implements self::Cat {
synthetic constructor •() self::MockCat3
;
no-such-method-forwarder method /* signature-type: (core::String, {amount: core::double}) → core::bool */ eatFood(core::String food, {core::double? amount = null}) core::bool
return this.{self::MockCat2::noSuchMethod}(new core::_InvocationMirror::_withType(#eatFood, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[food]), core::Map::unmodifiable<core::Symbol*, dynamic>(<core::Symbol*, dynamic>{#amount: amount}))){(core::Invocation) dynamic} as{TypeError,ForDynamic} core::bool;
}
class MockCat4 extends self::MockCat2 implements self::HungryCat {
synthetic constructor •() self::MockCat4
;
no-such-method-forwarder method /* signature-type: (core::String, {amount: core::double, yetAnother: core::double}) → core::bool */ eatFood(core::String food, {core::double? amount, core::double? yetAnother}) core::bool
return this.{self::MockCat2::noSuchMethod}(new core::_InvocationMirror::_withType(#eatFood, 0, const <core::Type*>[], core::List::unmodifiable<dynamic>(<dynamic>[food]), core::Map::unmodifiable<core::Symbol*, dynamic>(<core::Symbol*, dynamic>{#amount: amount, #yetAnother: yetAnother}))){(core::Invocation) → dynamic} as{TypeError,ForDynamic} core::bool;
}
abstract class HungryCat extends core::Object {
synthetic constructor •() self::HungryCat
;
abstract method eatFood(core::String food, {core::double amount = null, core::double yetAnother = null}) core::bool;
}
static method main() dynamic
;
Extra constant evaluation status:
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:11:7 -> SymbolConstant(#eatFood)
Evaluated: ListLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:11:7 -> ListConstant(const <Type*>[])
Evaluated: MapLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:11:7 -> MapConstant(const <Symbol*, dynamic>{})
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:23:8 -> SymbolConstant(#eatFood)
Evaluated: ListLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:23:8 -> ListConstant(const <Type*>[])
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:23:8 -> SymbolConstant(#amount)
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:26:7 -> SymbolConstant(#eatFood)
Evaluated: ListLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:26:7 -> ListConstant(const <Type*>[])
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:26:7 -> SymbolConstant(#amount)
Evaluated: SymbolLiteral @ org-dartlang-testcase:///abstract_override_with_different_signature.dart:26:7 -> SymbolConstant(#yetAnother)
Extra constant evaluation: evaluated: 39, effectively constant: 10