Skip to content

Commit 8a50320

Browse files
committed
Make withPos private
1 parent ca34ba0 commit 8a50320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
706706

707707
override def plain = new PlainPrinter(_ctx)
708708

709-
def withPos(txt: Text, pos: SourcePosition): Text = {
709+
private def withPos(txt: Text, pos: SourcePosition): Text = {
710710
if (!printLines || !pos.exists) txt
711711
else txt match {
712712
case Str(s, _) => Str(s, LineRange(pos.line, pos.endLine))

0 commit comments

Comments
 (0)