We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6ee1f6 commit ab6e080Copy full SHA for ab6e080
src/main/scala/scala/util/parsing/input/OffsetPosition.scala
@@ -88,7 +88,7 @@ case class OffsetPosition(source: CharSequence, offset: Int) extends Position {
88
*
89
* @author Tomáš Janoušek
90
*/
91
-object OffsetPosition {
+object OffsetPosition extends scala.runtime.AbstractFunction2[CharSequence,Int,OffsetPosition] {
92
private lazy val indexCacheTL =
93
// not DynamicVariable as that would share the map from parent to child :-(
94
new ThreadLocal[java.util.Map[CharSequence, Array[Int]]] {
0 commit comments