Skip to content

Fix source range for dynamic name selector #1580

@eric-milles

Description

@eric-milles

Consider the following:

void test(foo, bar, baz) {
  foo."$bar"(baz)
  foo. (bar)(baz)

  foo.(bar) = baz
  baz = foo.(bar)

  def map = [(bar): baz]
}

The variable expression "bar" is not highlighted properly for several instances of dynamic selector syntax.

antlr4

antlr2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions