Skip to content

Exception from semantically invalid TS in compound assignment #1412

@Perryvw

Description

@Perryvw
function foo(): number {
    return 3;
}
foo() += 4

Causes exception in transformCompoundAssignment due to the cast in there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions