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 755a81f commit c5e14deCopy full SHA for c5e14de
compiler/src/dotty/tools/dotc/ast/Positioned.scala
@@ -45,7 +45,7 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Pro
45
span = envelope(src)
46
47
def source: SourceFile = SourceFile.fromId(uniqueId)
48
- def sourcePos(implicit ctx: Context): SourcePosition = source.atSpan(span)
+ def sourcePos: SourcePosition = source.atSpan(span)
49
50
/** A positioned item like this one with given `span`.
51
* If the positioned item is source-derived, a clone is returned.
0 commit comments