Skip to content

Fix type inferencing and syntax highlighting for compiler-supplied enum methods #1004

@eric-milles

Description

@eric-milles

Consider the following:

enum E { ONE, TWO }
assert E.ONE.next().name() == 'TWO'

Compiler-supplied (see EnumVisitor) methods "next", "previous", "valueOf" and "values" are not highlighted as methods.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions