9d1a307954
Flutter gallery in release mode: AOT snapshot size arm64 -0.22%, arm -0.21% instructions size arm64 -0.46%, arm -0.4% TEST=existing tests Fixes https://github.com/dart-lang/sdk/issues/44391 Change-Id: I4733e91ecf4601c0bcde725cf9e97f5db0b8bc13 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175821 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
34 lines
925 B
Plaintext
34 lines
925 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
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::•()
|
|
;
|
|
}
|
|
class B extends self::A<Null> {
|
|
synthetic constructor •() → self::B
|
|
: super self::A::•()
|
|
;
|
|
}
|
|
class C extends core::Object {
|
|
synthetic constructor •() → self::C
|
|
: super core::Object::•()
|
|
;
|
|
method foo(Null n, self::A<Null> an) → Null
|
|
return n;
|
|
}
|
|
static method foo() → dynamic {
|
|
return core::_GrowableList::_literal2<core::List<self::A<Null>?>>(core::_GrowableList::•<Null>(0), core::_GrowableList::•<self::A<Null>>(0));
|
|
}
|
|
static method bar() → dynamic {
|
|
return core::_GrowableList::_literal2<core::List<self::A<Null>?>>(#C1, #C2);
|
|
}
|
|
static method main() → dynamic {}
|
|
|
|
constants {
|
|
#C1 = <Null>[]
|
|
#C2 = <self::A<Null>>[]
|
|
}
|