Skip to content

Decorators incorrectly parsed #9279

@fisker

Description

@fisker

Flow version: 0.270.0

Expected behavior

Parse it as computed 0 property with decorators as decorator.

Actual behavior

Parse it as method with decorators[0] as decorator.

  • Link to Try-Flow or Github repo:

Playground

See also tc39/proposal-decorators#556

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