Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /