diff options
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/bug586.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pending/pos/bug586.scala b/test/pending/pos/bug586.scala index ca0a508baa..b736e6ab43 100644 --- a/test/pending/pos/bug586.scala +++ b/test/pending/pos/bug586.scala @@ -11,7 +11,7 @@ with imm.Set[A] def +(elem: A) = new HashTreeSet(map + elem -> ()) def -(elem: A) = new HashTreeSet(map - elem) def contains(elem: A) = map.isDefinedAt(elem) - def elements = map.elements.map(._1) + def iterator = map.iterator.map(._1) def empty:imm.Set[A] = new HashTreeSet[A]() } |