You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bwilkerson opened this issue
Feb 12, 2024
· 0 comments
Labels
P2A bug or feature request we're likely to work onset-coreAffects a rule in the core Dart rule settype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
The method typesAreUnrelated currently considers a non-nullable type, such as String to be potentially related to the type Null. That seems wrong to me.
We should consider changing the method so that it returns true in such cases. (Though I haven't done any work to see what the implications of such a change would be.)
The text was updated successfully, but these errors were encountered:
pq
added
set-core
Affects a rule in the core Dart rule set
P2
A bug or feature request we're likely to work on
labels
Feb 14, 2024
P2A bug or feature request we're likely to work onset-coreAffects a rule in the core Dart rule settype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
The method
typesAreUnrelated
currently considers a non-nullable type, such asString
to be potentially related to the typeNull
. That seems wrong to me.We should consider changing the method so that it returns
true
in such cases. (Though I haven't done any work to see what the implications of such a change would be.)The text was updated successfully, but these errors were encountered: