X Tutup
Skip to content

Transformation throws error instead of diagnostic for unsupported node #860

@Perryvw

Description

@Perryvw

I was playing around on the playground and discovered an unexpected error while trying to transform the following code:

const a = () => {
    foo: "bar",
    baz: "buz"
};
const { foo, baz } = a;

Playground link

Expected behavior:
No uncaught exception. Instead expected a unsupported node diagnostic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup