Skip to content

Commit db594cb

Browse files
Update compiler/src/dotty/tools/dotc/inlines/Inlines.scala
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent a3f3c28 commit db594cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/inlines/Inlines.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ object Inlines:
241241
// Reposition in the outer most inlined call
242242
if (enclosingInlineds.nonEmpty) tree1 else reposition(tree1, inlined.span)
243243

244-
def reposition(tree: Tree, callSpan: Span)(using Context): Tree =
244+
private def reposition(tree: Tree, callSpan: Span)(using Context): Tree =
245245
// Reference test tests/run/i4947b
246246

247247
val curSource = ctx.compilationUnit.source

0 commit comments

Comments
 (0)