summaryrefslogtreecommitdiff
path: root/test/files/neg/t5580b.check
blob: 45fde46ff99f74b2b326c47c821a880605e48817 (plain) (blame)
1
2
3
4
5
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