DescriptionAdd type inference for switch statements.
Analyzer does not infer switch cases correctly (it uses an empty
context for the case expression, instead of the type of the switch
expression), so the tests are in inference_new.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/b94fdceadceff70622673bc57d0f1e9c9d0ab011
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|