java.lang.UnsupportedOperationException: position-changing adjust on Token.BOF: expected 0..0, actual 1..1

GitHub | Dveim | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception while unquoting names like '$x'

    GitHub | 2 years ago | Dveim
    java.lang.UnsupportedOperationException: position-changing adjust on Token.BOF: expected 0..0, actual 1..1

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      position-changing adjust on Token.BOF: expected 0..0, actual 1..1

      at scala.meta.syntactic.Token$BOF.adjust()
    2. scala.meta.syntactic
      Token$BOF.adjust
      1. scala.meta.syntactic.Token$BOF.adjust(Token.scala:145)
      1 frame
    3. scala.meta.internal
      ReificationMacros$$anonfun$5$$anonfun$apply$1.apply
      1. scala.meta.internal.quasiquotes.ast.ReificationMacros$$anonfun$5$$anonfun$apply$1.apply(ReificationMacros.scala:169)
      2. scala.meta.internal.quasiquotes.ast.ReificationMacros$$anonfun$5$$anonfun$apply$1.apply(ReificationMacros.scala:167)
      2 frames
    4. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:742)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
      5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      6. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      7. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
      8. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      8 frames
    5. scala.meta.internal
      ReificationMacros$$anonfun$5.apply
      1. scala.meta.internal.quasiquotes.ast.ReificationMacros$$anonfun$5.apply(ReificationMacros.scala:167)
      2. scala.meta.internal.quasiquotes.ast.ReificationMacros$$anonfun$5.apply(ReificationMacros.scala:104)
      2 frames
    6. Scala
      List.map
      1. scala.collection.immutable.List.map(List.scala:273)
      1 frame
    7. scala.meta.internal
      ReificationMacros.apply
      1. scala.meta.internal.quasiquotes.ast.ReificationMacros.parseSkeleton(ReificationMacros.scala:104)
      2. scala.meta.internal.quasiquotes.ast.ReificationMacros.expand(ReificationMacros.scala:64)
      3. scala.meta.internal.quasiquotes.ast.ReificationMacros.apply(ReificationMacros.scala:61)
      3 frames