Skip to content

Computed class property with decorator missing key #407

@fisker

Description

@fisker
  class A{
    @decorators
    [x] = 1
  }

It seems valid in TS, but I'm not sure, when playing with this example, I found meriyah emits a PropertyDefinition with key: null, it can't be right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions