Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cfcad84

Browse files
author
soya
committed
Replace * into rep, because Scala 2.13.0 requires
`import scala.language.postfixOps` when the code uses postfix operator.
1 parent bd4253a commit cfcad84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/test/scala/scala/util/parsing/combinator/RegexParsersTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class RegexParsersTest {
152152
@Test
153153
def ifElseTest: Unit = {
154154
object parser extends RegexParsers {
155-
def top: Parser[List[Unit]] = ifelse*
155+
def top: Parser[List[Unit]] = rep(ifelse)
156156
def ifelse: Parser[Unit] = "IF" ~ condition ~ "THEN" ~ "1"~ "END" ^^ { _ => }
157157
def condition: Parser[String] = "TRUE" | "FALSE"
158158
}

0 commit comments

Comments
 (0)