Skip to content

Commit 637b4eb

Browse files
committed
Fix rebase breakage
1 parent 7330b38 commit 637b4eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,8 @@ object Parsers {
663663
migrationWarningOrError(em"""symbol literal '${in.name} is no longer supported,
664664
|use a string literal "${in.name}" or an application Symbol("${in.name}") instead.""")
665665
if (in.isScala2Mode) {
666-
patch(source, Position(in.offset, in.offset + 1), "Symbol(\"")
667-
patch(source, Position(in.charOffset - 1), "\")")
666+
patch(source, Span(in.offset, in.offset + 1), "Symbol(\"")
667+
patch(source, Span(in.charOffset - 1), "\")")
668668
}
669669
atPos(in.skipToken()) { SymbolLit(in.strVal) }
670670
}

0 commit comments

Comments
 (0)