Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Nov 15, 2023
1 parent 878dca3 commit 0435d34
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -988,9 +988,10 @@ non-nullable, unless it implements `Object` or a subtype thereof
(like all other expressions). Non-extension types (except bottom types and
`dynamic`) cannot be assigned to extension types without an explicit cast.
Similarly, the null object cannot be assigned to an extension type without
an explicit cast (or a constructor invocation). Since an extension type is
potentially non-nullable, an instance variable whose type is an extension
type must be initialized. It will not be implicitly initialized to null.*
an explicit cast (or if it has a static type which is an extension type,
e.g., `E(null)`). Since an extension type is potentially non-nullable, an
instance variable whose type is an extension type must be initialized. It
will not be implicitly initialized to null.*

In the body of a member of an extension type declaration _DV_ named
`Name` and declaring the type parameters
Expand Down

0 comments on commit 0435d34

Please sign in to comment.