Chromium Code Reviews
DescriptionAlways store the type of a conditional expressions on the node.
Previously, the type of a conditional expression could be omitted if
one of the arms was just a null literal. This was meant to simplify
translation into kernel, but wasn't really worth it in terms of
complexity, and it does not work well for types that carry nullability
information.
BUG=
R=ahe@google.com
Committed: https://github.com/dart-lang/kernel/commit/c227e785a14e04f1688d75ad4d0f12b0be6b850f
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add copyright #Patch Set 3 : Merge in master #Patch Set 4 : Update handling of conditional expression in type checker #Patch Set 5 : Update test expectation #
Messages
Total messages: 8 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||