Files
sdk/pkg/front_end/testcases/nnbd/issue42143.dart.strong.expect
T
Johnni Winther 261e283a0a [cfe] Handle explicit type parameter type nullability in bounds
Closes #42143

Change-Id: I05f181889481c48b183cef135f96dbf510ca788d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151381
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-06-16 12:28:04 +00:00

9 lines
316 B
Plaintext

library /*isNonNullableByDefault*/;
import self as self;
import "dart:async";
static method h1<T extends FutureOr<self::h1::T?>? = FutureOr<dynamic>?>(self::h1::T? t) → void {}
static method h2<S extends FutureOr<self::h2::S?> = FutureOr<dynamic>>(self::h2::S? s) → void {}
static method main() → dynamic {}