DescriptionFix warnings in pkg/analyzer caused by be6a822daff2fae75a480d7da656ab0d9c86512e
Dart's type promotion rules aren't sophisticated enough to understand
that (a is num && b is num) || (a is String && b is String) means that
it is safe to evaluate (a + b), so we have to split it into two
separate cases.
TBR=mfairhurst@google.com,scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/2805019038c52e33b15d6046a83ce3166dda94f3
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|