From cc5e79c9ec9cea8d0f22020b528877d8f6e00153 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Wed, 27 May 2009 19:35:02 +0000 Subject: In "Iterable" and in all its subclasses, "itera... In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes). --- test/files/neg/bug563.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/neg/bug563.scala') diff --git a/test/files/neg/bug563.scala b/test/files/neg/bug563.scala index d559226bdb..d8e026e656 100644 --- a/test/files/neg/bug563.scala +++ b/test/files/neg/bug563.scala @@ -2,6 +2,6 @@ object Test { def map[A,R](a : List[A], f : A => R) : List[R] = a.map(f); def split(sn : Iterable[List[Cell[int]]]) : unit = - for (val n <- sn) + for (n <- sn) map(n,ptr => new Cell(ptr.elem)); } -- cgit v1.2.3