area:backendcompat:scala2help wanteditype:enhancement
Repository metrics
- Stars
- (6,247 stars)
- PR merge metrics
- (Avg merge 18d 14h) (133 merged PRs in 30d)
Description
We should port https://github.com/scala/scala/pull/9121, note that unlike scala 2 we don't have a backend inliner (yet) but we do have inline def so we need to deal with positions coming from other files, this is currently handled by https://github.com/lampepfl/dotty/blob/cdfc76e2e5093dd8f70e1d582e38d2537494c0bb/compiler/src/dotty/tools/dotc/typer/Inliner.scala#L239-L240