Skip to content

Incorrect range position with xml literals #12597

@lrytz

Description

@lrytz

The range position for {<e></e>}.toString starts at the e character.

class T { def f = {<e></e>}.toString }

With -Yrangepos -Xprint:typer -Ypos-debug -Yshow-trees, the Apply node has position [20:36].

Similar to #12490. Affects 2.12 and 2.13.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions