4579863064
Closes #35470. Bug: http://dartbug.com/35470 Change-Id: I6b7ae9bb96ca099dc55bfdc8fddfa768eab060a2 Reviewed-on: https://dart-review.googlesource.com/c/87965 Commit-Queue: Kevin Millikin <kmillikin@google.com> Auto-Submit: Dmitry Stefantsov <dmitryas@google.com> Reviewed-by: Kevin Millikin <kmillikin@google.com>
20 lines
530 B
Plaintext
20 lines
530 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class A<X extends core::Object = dynamic> extends core::Object {
|
|
synthetic constructor •() → self::A<self::A::X>
|
|
: super core::Object::•()
|
|
;
|
|
method foo<generic-covariant-impl Y extends self::A::X = self::A::X>() → dynamic {}
|
|
}
|
|
class B extends self::A<dynamic> {
|
|
synthetic constructor •() → self::B
|
|
: super self::A::•()
|
|
;
|
|
}
|
|
static method bar(self::B b) → dynamic {
|
|
b.{self::A::foo}<dynamic>();
|
|
}
|
|
static method main() → dynamic {}
|