dart-sdk/docs
Erik Ernst 4fd04044fb Adjusted circularity prevention rule for type variable subtyping
We noted in issue https://github.com/dart-lang/sdk/issues/33709 that
the language specification prevents usage of `Null` as the bound
of a type variable, because that makes the bound a subtype of
the type variable itself (which is otherwise a symptom of having
a cyclic declaration like `X extends X`).

This CL adjusts the wording such that it will be possible to use
`Null` (or whatever the denoteable bottom type is called) as a
bound.

Change-Id: I46a5ce6055f3af322a6b93ac38ca2829ce23a26c
Reviewed-on: https://dart-review.googlesource.com/63420
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-07-03 10:55:50 +00:00
..
language Adjusted circularity prevention rule for type variable subtyping 2018-07-03 10:55:50 +00:00
newsletter Newsletter 2017-11-24. 2017-11-24 16:27:00 +00:00