Descriptiondart2js inferrer: don't infer widened type when unreachable
'&' and '|' were missing the case to return 'empty' if the argument was empty, causing the widened (default) type to be propagated.
There are a few bitwise operations in the streams code that have better code from being slightly more precise.
BUG=
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/478106bce28fe6d0e7e2f34845dc66f7f7c3ca0d
Patch Set 1 #Patch Set 2 : reformat #
Messages
Total messages: 10 (7 generated)
|