commit | a350f0d11d17cac15a1fc7ecae2fae9006872f8b | [log] [tgz] |
---|---|---|
author | Tyson Andre <[email protected]> | Wed Aug 21 13:15:22 2019 -0400 |
committer | Eli Bendersky <[email protected]> | Wed Aug 21 10:15:22 2019 -0700 |
tree | 9f6a06a27d13f6fa960da28aa29bf9acfa32b79c | |
parent | bc2010aea92535cb1d70be9fc1bebeb6eff229d8 [diff] |
Fix error transforming an empty switch (#346) * Fix error transforming an empty switch The parser would crash on that line for `switch(1) {}` because NoneType is not iterable. Fixes #345 * Add a test of empty switch statements * Address review comments