Skip to content

Commit 5d7549c

Browse files
author
Harlan Haskins
committed
Monomorphize AbsolutePosition.copy()
1 parent 76d8331 commit 5d7549c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SwiftSyntax/SyntaxData.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ public final class AbsolutePosition {
313313
}
314314
}
315315

316-
internal func copy() -> Self {
317-
return type(of: self).init(line: line, column: column,
316+
internal func copy() -> AbsolutePosition {
317+
return AbsolutePosition(line: line, column: column,
318318
byteOffset: byteOffset)
319319
}
320320
}

0 commit comments

Comments
 (0)