summaryrefslogblamecommitdiff
path: root/test/files/neg/t8989.check
blob: 4e89b862bda1cc5932ef021838a6a606d349925d (plain) (tree)
1
2
3
4



                                                                                                                                                      
t8989.scala:11: error: The result type of an unapply method must contain a member `get` to be used as an extractor pattern, no such member exists in A
  val f = p match {case d(1) => true; case _ => false}
                        ^
one error found