summaryrefslogtreecommitdiff
path: root/test/files/neg/nested-fn-print.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/nested-fn-print.check')
-rw-r--r--test/files/neg/nested-fn-print.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/nested-fn-print.check b/test/files/neg/nested-fn-print.check
index ea278554d4..feeac0733f 100644
--- a/test/files/neg/nested-fn-print.check
+++ b/test/files/neg/nested-fn-print.check
@@ -1,4 +1,4 @@
-nested-fn-print.scala:4: error: only classes can have declared but undefined members
+nested-fn-print.scala:4: error: only traits and abstract classes can have declared but undefined members
(Note that variables need to be initialized to be defined)
var x3: Int => Double
^