a1f67241b9
Change-Id: I4ee6a6f1f404a65e7abc926adaa08178698838e9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170880 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class A extends core::Object {
|
|
synthetic constructor •() → self::A
|
|
: super core::Object::•()
|
|
;
|
|
method method1({required core::int a = #C1}) → void {}
|
|
method method2({core::int? a = #C1, required core::int b = #C1}) → void {}
|
|
}
|
|
class B extends core::Object {
|
|
synthetic constructor •() → self::B
|
|
: super core::Object::•()
|
|
;
|
|
method method1({required covariant core::int a = #C1}) → void {}
|
|
method method2({covariant core::int? a = #C1, required core::int b = #C1}) → void {}
|
|
}
|
|
class C extends self::A implements self::B {
|
|
synthetic constructor •() → self::C
|
|
: super self::A::•()
|
|
;
|
|
forwarding-stub method method1({required covariant core::int a = #C1}) → void
|
|
return super.{self::A::method1}(a: a);
|
|
forwarding-stub method method2({covariant core::int? a = #C1, required core::int b = #C1}) → void
|
|
return super.{self::A::method2}(a: a, b: b);
|
|
}
|
|
class D extends self::C {
|
|
synthetic constructor •() → self::D
|
|
: super self::C::•()
|
|
;
|
|
method method1({required covariant core::int a = #C1}) → void {}
|
|
method method2({covariant core::int? a = #C1, required core::int b = #C1}) → void {}
|
|
}
|
|
static method main() → dynamic {}
|
|
|
|
constants {
|
|
#C1 = null
|
|
}
|