Chromium Code Reviews
DescriptionAdd tests for e?.v++, e?.v--, ++e?.v, and --e?.v.
The tests for e?.v++ and e?.v-- validate the spec text added in
58708e3 (as clarified by 1ab7736).
The tests for ++e?.v and --e?.v weren't mandated by any spec change,
but since these expressions weren't previously tested, it seemed
reasonable to add tests for them.
All tests pass under the current implementation of "?." in analyzer
and dart2js.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/76bbccf28f799efcbc2b6bd336b12a15d73844dd
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|
||||||||||||||||||||||||||||