summaryrefslogtreecommitdiff
path: root/test/files/neg/sabin2.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/sabin2.check')
-rw-r--r--test/files/neg/sabin2.check7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/files/neg/sabin2.check b/test/files/neg/sabin2.check
index 682c08bc62..0e148fa038 100644
--- a/test/files/neg/sabin2.check
+++ b/test/files/neg/sabin2.check
@@ -1,5 +1,6 @@
-sabin2.scala:22: error: method set cannot be accessed in Test.Base#Inner
- because its instance type (Test.Base#T)Unit contains a malformed type: Test.Base#T
+sabin2.scala:22: error: type mismatch;
+ found : Test.Base#T
+ required: _1.T where val _1: Test.Base
a.set(b.get()) // Error
- ^
+ ^
one error found