summaryrefslogtreecommitdiff
path: root/test/files/neg/t5580b.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-04-08 18:13:12 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-04-08 18:13:12 -0700
commit967087811f9215d72651fc62e0977291efa2ab43 (patch)
tree37a019684fbb44b9cc6be270b27659abc6bc5542 /test/files/neg/t5580b.check
parentc57c4f8c6227cff8ff9c1392428f97f036a34f2c (diff)
parent684e87427850053db58707e2b7f3f51e10f882a0 (diff)
downloadscala-967087811f9215d72651fc62e0977291efa2ab43.tar.gz
scala-967087811f9215d72651fc62e0977291efa2ab43.tar.bz2
scala-967087811f9215d72651fc62e0977291efa2ab43.zip
Merge pull request #2356 from paulp/pr/isSameType
Wonderfulizing isSameType
Diffstat (limited to 'test/files/neg/t5580b.check')
-rw-r--r--test/files/neg/t5580b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5580b.check b/test/files/neg/t5580b.check
new file mode 100644
index 0000000000..45fde46ff9
--- /dev/null
+++ b/test/files/neg/t5580b.check
@@ -0,0 +1,6 @@
+t5580b.scala:11: error: polymorphic expression cannot be instantiated to expected type;
+ found : [A]scala.collection.mutable.Set[A]
+ required: scala.collection.mutable.Map[bar,scala.collection.mutable.Set[bar]]
+ if (map.get(tmp).isEmpty) map.put(tmp,collection.mutable.Set())
+ ^
+one error found