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
apm@mara:~/projects/snytt$ scala210
Welcome to Scala version 2.10.4 (OpenJDK64-BitServerVM, Java1.7.0_65).
Type in expressions to have them evaluated.
Type:help for more information.
scala> (1 to 9).toList match { caseList(`_`*) =>true }
res0:Boolean=true
scala> apm@mara:~/projects/snytt$ scala
Welcome to Scala version 2.11.4 (JavaHotSpot(TM) 64-BitServerVM, Java1.8.0_25).
Type in expressions to have them evaluated.
Type:help for more information.
scala> (1 to 9).toList match { caseList(`_`*) =>true }
<console>:8:error: unsupported pattern: Star/p3: List[Int] @ (`_`)* (this is a scalac bug.)
(1 to 9).toList match { caseList(`_`*) =>true }
^
The text was updated successfully, but these errors were encountered:
I'm still hoping to receive my "Underbar ist wunderbar!" t-shirt. (Maybe it's even funnier in Swedish.)
This is pretty benign, but since somebody reported it:
The text was updated successfully, but these errors were encountered: