Skip to content

Incorrect highlighting when defining a computed method #425

Closed
@paxunix

Description

@paxunix
class Foo {
    [someThing]() {
        return 10;
    }
}

The current highlighter thinks the method body is jsClassBlock so its entire highlighting is thrown off.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions