summaryrefslogtreecommitdiff
path: root/test/files/neg/t3015.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3015.check')
-rw-r--r--test/files/neg/t3015.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/t3015.check b/test/files/neg/t3015.check
index 6095efc6a7..0b394e23d6 100644
--- a/test/files/neg/t3015.check
+++ b/test/files/neg/t3015.check
@@ -1,11 +1,11 @@
t3015.scala:7: error: scrutinee is incompatible with pattern type;
- found : _$1 where type _$1
+ found : _$1 where type +_$1
required: String
val b(foo) = "foo"
^
t3015.scala:7: error: type mismatch;
- found : _$1(in value foo) where type _$1(in value foo) <: String
- required: (some other)_$1(in value foo) where type (some other)_$1(in value foo)
+ found : String with _$1(in object Test) where type +_$1(in object Test)
+ required: (some other)_$1(in object Test) where type +(some other)_$1(in object Test)
val b(foo) = "foo"
^
two errors found