area:backendcompat:scala2help wanteditype:enhancement
仓库指标
- Star
- (6,247 star)
- PR 合并指标
- (平均合并 18天 14小时) (30 天内合并 133 个 PR)
描述
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