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.
2 parents 5210b14 + c5e14de commit 0db5976Copy full SHA for 0db5976
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