Solving T? == Null
for T
yields Null
, not Never
#4285
Labels
request
Requests to resolve a particular developer problem
T? == Null
for T
yields Null
, not Never
#4285
Extended example below.
Take:
The result
v
becomes aC<Null>
.I would have expected it to become
C<Never>
, since NonNull(Null
) isNever
.All other types I've tried work fine, but they're all either of the form
SomeType?
, or they are top-types that solves asObject
.Larger example:
@stereotype441 @eernstg
Is this intended, or is it a bug in NonNull?
The text was updated successfully, but these errors were encountered: