Skip to content

Commit 0d3bc59

Browse files
Update compiler/src/dotty/tools/dotc/typer/Inliner.scala
Co-authored-by: Fengyun Liu <[email protected]>
1 parent 1121ac4 commit 0d3bc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Inliner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ class Inliner(call: tpd.Tree, rhsToInline: tpd.Tree)(using Context) {
893893
def argsSpan = trailing.map(_.span).foldLeft(arg.span)(_.union(_))
894894
letBindUnless(TreeInfo.Pure, arg)(Block(trailing, _).withSpan(argsSpan))
895895
val blockSpan = (prefix ::: leading).map(_.span).foldLeft(argInPlace.span)(_.union(_))
896-
finish(seq(prefix, seq(leading, argInPlace))).withSpan(blockSpan)
896+
finish(seq(prefix, seq(leading, argInPlace)).withSpan(blockSpan))
897897
}
898898
}
899899
else tree

0 commit comments

Comments
 (0)