Skip to content

Commit ab6e080

Browse files
committed
Fix binary incompatibilities in object OffsetPosition
1 parent b6ee1f6 commit ab6e080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scala/util/parsing/input/OffsetPosition.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ case class OffsetPosition(source: CharSequence, offset: Int) extends Position {
8888
*
8989
* @author Tomáš Janoušek
9090
*/
91-
object OffsetPosition {
91+
object OffsetPosition extends scala.runtime.AbstractFunction2[CharSequence,Int,OffsetPosition] {
9292
private lazy val indexCacheTL =
9393
// not DynamicVariable as that would share the map from parent to child :-(
9494
new ThreadLocal[java.util.Map[CharSequence, Array[Int]]] {

0 commit comments

Comments
 (0)