Descriptionrefactor/simplify nullable inference code
Some of the high level changes are:
* visit catch body, fixes #463
* handle temps created by the compiler. These were in some cases treated incorrectly as non-null (see tests diff)
* compute nullable in the same pass as visiting assignments
* simplify visiting += and ++, fix ++ (it was dead code, #463)
* simplify _isNullable
* if we fail to see a variable declaration, treat it as nullable
* stack trace in catch is treated as non-null
R=vsm@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/507d3c541ae56afe4a5ad0f2304b3002981bb228
Patch Set 1 #Patch Set 2 : #
Total comments: 9
Patch Set 3 : revert tool/build_sdk #
Total comments: 7
Patch Set 4 : #
Total comments: 2
Messages
Total messages: 16 (5 generated)
|