fdc765faad
TEST=existing Change-Id: I0a8fdf09f742b55357411f12dc6164d4050bb83c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196283 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
16 lines
640 B
Plaintext
16 lines
640 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class C<T extends core::Object? = dynamic> extends core::Object {
|
|
synthetic constructor •() → self::C<self::C::T%>
|
|
: super core::Object::•()
|
|
;
|
|
method foo<generic-covariant-impl E extends self::C::T%>(core::List<self::C::foo::E%> list) → dynamic {
|
|
core::List<self::C::foo::E%> variable = this.{self::C::method}<self::C::foo::E%>(list);
|
|
}
|
|
method method<generic-covariant-impl F extends self::C::T%>(core::List<self::C::method::F%> list) → core::List<self::C::method::F%>
|
|
return list;
|
|
}
|
|
static method main() → dynamic {}
|