Skip to content

Commit

Permalink
Add test with redundant braces and Init args
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed May 22, 2023
1 parent 8c2ba7f commit aae721e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1386,3 +1386,9 @@ object A:
case s: String => s
case _ => ae.toString
}.toList
<<< ONLY #3540
object Bar extends Foo[(Int, String)]({ case (i, s) => () })
>>>
test does not parse
object Bar extends Foo[(Int, String)] { case (i, s) => () }
^

0 comments on commit aae721e

Please sign in to comment.