aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/patdef.check
blob: 0cb1c6d4f74f6a3e8674ce43e4cccb1ce3d1b375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
scala> val Const,x = 0
Const: Int = 0
x: Int = 0
scala> val (Const, List(`x`, _, a), b) = (0, List(0, 1337, 1), 2)
a: Int = 1
b: Int = 2
scala> val a@b = 0
a: Int @unchecked = 0
b: Int @unchecked = 0
scala> :quit