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
Add a patch to cover the cornercase where xml pattern in parens confuse
the parser.
Before this commit, the following code compiles,
```scala
for (case _ @ <div>empty</div> <- Seq(xml)) yield ()
```
but the following resulted in syntax error.
```scala
for (case _ @ <div>empty</div><-Seq(xml)) yield ()
```
Because `followingIsEnclosedGenerators` always comes after `for` and
`(`, I beleive it would not break the parser to early-exit when
`XMLSTART` is found.
0 commit comments