summaryrefslogtreecommitdiff
path: root/test/files/neg/t3871.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3871.check')
-rw-r--r--test/files/neg/t3871.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t3871.check b/test/files/neg/t3871.check
index b920357ee6..c9667abfb6 100644
--- a/test/files/neg/t3871.check
+++ b/test/files/neg/t3871.check
@@ -1,5 +1,5 @@
t3871.scala:4: error: variable foo in class Sub2 cannot be accessed in Sub2
- Access to protected method foo not permitted because
+ Access to protected variable foo not permitted because
enclosing class Base is not a subclass of
class Sub2 where target is defined
s.foo = true