Skip to content

Inline methods with by-name arguments break debugging information #4947

Closed
@Blaisorblade

Description

@Blaisorblade

In the snippet below, setting breakpoints in isSubType is hard if it's compiled by Dotty, because all of isSubType appears written on line 100.

transparent def track(f: => T): T = { ... f ... }

def isSubType(...) = track { // line 100
  body
]

Probably should be addressed before bootstrap, hence tentatively targeting milestone 0.10.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions