summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_error_exist_no_crash.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/sammy_error_exist_no_crash.scala')
-rw-r--r--test/files/neg/sammy_error_exist_no_crash.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/sammy_error_exist_no_crash.scala b/test/files/neg/sammy_error_exist_no_crash.scala
index da7e47206f..667b4db763 100644
--- a/test/files/neg/sammy_error_exist_no_crash.scala
+++ b/test/files/neg/sammy_error_exist_no_crash.scala
@@ -1,6 +1,6 @@
-abstract class F[T] { def apply(s: T): Int }
+trait F[T] { def apply(s: T): Int }
object NeedsNiceError {
def bar(x: F[_ >: String]) = ???
bar(_.parseInt)
-} \ No newline at end of file
+}