Chromium Code Reviews
DescriptionBetter boolean conversion tests.
- Same errors as VM & Dartium
- Failed assertion: boolean expression must not be null
- type 'int' is not a subtype of type 'bool' in boolean expression
- All boolean conversion contexts use the same logic
- No false positives from combining null and as-bool checks in other contexts
R=jmesserly@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/016b5f2240c0e448fef87179a86e55ff79092115
Patch Set 1 : #
Total comments: 4
Messages
Total messages: 10 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||