summaryrefslogtreecommitdiff
path: root/test/files/neg/t7330.check
blob: b96d656d2bb6cc03e59b5fa0a920016e36df39bf (plain) (blame)
1
2
3
4
5
t7330.scala:4: error: pattern must be a value: Y[_]
Note: if you intended to match against the class, try `case _: Y[_]`
  0 match { case Y[_] => }
                  ^
one error found