You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stdin: AddVariableDeclarationsStage failed to parse: The type cast expression is expected to be wrapped with parenthesis (1:21)
> 1 | (function(a) {})(b.c : undefined));
| ^
2 |
The text was updated successfully, but these errors were encountered:
Leaving a note with the exploration I did. It looks like the getPatchedSource that DoOpPatcher does for the default param value only gets b.c : undefined instead of the full typeof b !== 'undefined' && b !== null ? b.c : undefined. I initially thought it may have to do with the deferred patching that SoakedMemberAccessOpPatcher does, but I don't think that's it. I tried expanding the getPatchedSource from contentStart through contentEnd to be inner* or outer*, but that didn't work either.
decaffeinate is crashing on my CoffeeScript input:
(repl)
I get this error:
The text was updated successfully, but these errors were encountered: