-
Notifications
You must be signed in to change notification settings - Fork 21
rep overrides commit #6067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6067?orig=1 |
@adriaanm said: |
@SethTisue said: Interested community members: if you consider this issue significant, feel free to open a new issue for it on GitHub, with links in both directions. |
Add test showing scala/bug#6067 is fixed
The rep parser combinator makes the commit parser combinator ineffective, for example this should not parse but does:
import scala.util.parsing.combinator._
object Test extends RegexParsers {
def test = parseAll(rep(commit("a")) ~ "b", "aaab")
}
I believe the problem is Parsers.scala 649-652
should be:
The text was updated successfully, but these errors were encountered: