d2e96aa6d3
Closes #40601 Closes #41103 Closes #40946 Change-Id: I1a28f497ffe0be3d1f9e673f1e8be7a518bbfc7e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140403 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method f<T extends core::Object? = dynamic>(self::f::T% t) → self::f::T%
|
|
return t;
|
|
static method main() → dynamic {
|
|
late core::int local;
|
|
local = self::f<core::int>(0);
|
|
}
|