summaryrefslogtreecommitdiff
path: root/test/files/neg/t3015.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3015.scala')
-rw-r--r--test/files/neg/t3015.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t3015.scala b/test/files/neg/t3015.scala
index 0bd53e7a03..adfa15b388 100644
--- a/test/files/neg/t3015.scala
+++ b/test/files/neg/t3015.scala
@@ -2,7 +2,7 @@ class UnApp[P] {
def unapply(a: P): Option[P] = Some(a)
}
-object Test extends Application {
+object Test extends App {
val b: UnApp[_] = new UnApp[String]
val b(foo) = "foo"
}