Skip to content

Commit 0db5976

Browse files
authored
Merge pull request #8774 from dotty-staging/remove-unnecessary-context-paramter
Remove unnecessary Context parameter
2 parents 5210b14 + c5e14de commit 0db5976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/Positioned.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Pro
4545
span = envelope(src)
4646

4747
def source: SourceFile = SourceFile.fromId(uniqueId)
48-
def sourcePos(implicit ctx: Context): SourcePosition = source.atSpan(span)
48+
def sourcePos: SourcePosition = source.atSpan(span)
4949

5050
/** A positioned item like this one with given `span`.
5151
* If the positioned item is source-derived, a clone is returned.

0 commit comments

Comments
 (0)