Skip to content

Fails on existential conditional in throw calls #1096

Closed
@zackbloom

Description

Decaffeinate is crashing on my CoffeeScript input:

throw(res.data?.error)

(repl)

I get this error:

AddVariableDeclarationsStage failed to parse: Unexpected token (1:6)

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions