summaryrefslogtreecommitdiff
path: root/test/files/neg/t7984.check
blob: 0cfd7d16198c9df80205a761d6da63d305b1e7a1 (plain) (blame)
1
2
3
4
5
6
t7984.scala:4: warning: non-variable type argument Int in type pattern List[Int] (the underlying of Test.this.ListInt) is unchecked since it is eliminated by erasure
    case is: ListInt => is.head
             ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found