When unwrapping andThen, arrow functions with no block expression were being erroneously removed. This PR adds a test, and fixes the issue.
There's one issue remaining: I don't know how to append a semicolon to the end of the unwrapped arrow function call statement. Do you guys know, @simonihmig @rwjblue?
When unwrapping
andThen
, arrow functions with no block expression were being erroneously removed. This PR adds a test, and fixes the issue.There's one issue remaining: I don't know how to append a semicolon to the end of the unwrapped arrow function call statement. Do you guys know, @simonihmig @rwjblue?