We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1397fc2 commit df92b08Copy full SHA for df92b08
shared/src/main/scala/scala/util/parsing/combinator/PackratParsers.scala
@@ -211,7 +211,7 @@ to update each parser involved in the recursion.
211
case LR(seed ,rule, Some(head)) =>
212
if(head.getHead != p) /*not head rule, so not growing*/ seed.asInstanceOf[ParseResult[T]]
213
else {
214
- in.updateCacheAndGet(p, MemoEntry(Right[LR, ParseResult[T]](seed.asInstanceOf[ParseResult[T]])))
+ in.updateCacheAndGet(p, MemoEntry(Right(seed.asInstanceOf[ParseResult[T]])))
215
seed match {
216
case f@Failure(_,_) => f
217
case e@Error(_,_) => e
0 commit comments