We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409c66c commit 35c353dCopy full SHA for 35c353d
compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala
@@ -585,7 +585,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
585
def lineNumber(tree: Tree): Unit = {
586
if (!emitLines || !tree.span.exists) return;
587
// Use JSR-45 mapping for inlined trees defined outside of the current compilation unit
588
- if tree.source != cunit.source || (tree.isInstanceOf[Inlined] && tree.asInstanceOf[Inlined].expansion.source != cunit.source) then
+ if tree.source != cunit.source then
589
sourceMap.lineFor(tree) match
590
case Some(nr) =>
591
return emitNr(nr)
0 commit comments