Support B <: A<bottom> #25604
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
We've got a few examples of interfaces where it would be nice to tag them as contravariant.
Unfortunately, we cannot do this and remain compatible with checked mode, except specifically for the
dynamic
case (using thebottom
interpretation for Dart specdynamic
).See the original bug for more background: dart-archive/dev_compiler#324.
More info on how this feature looks in C#.
The text was updated successfully, but these errors were encountered: