You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** A common super-class for unsuccessful parse results. */
162
167
sealedabstractclassNoSuccess(valmsg:String, overridevalnext:Input) extendsParseResult[Nothing] { // when we don't care about the difference between Failure and Error
163
168
valsuccessful=false
164
169
165
-
if (lastNoSuccessVar.value forall (v =>!(next.pos < v.next.pos)))
166
-
lastNoSuccessVar.value =Some(this)
170
+
if (lastNoSuccessVar.value exists (_ forall (v =>!(next.pos < v.next.pos))))
0 commit comments