diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-07-19 14:28:36 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-07-19 14:28:36 +0000 |
commit | e00276d4b1c9d3da44ed8e0c506309d7ef84996d (patch) | |
tree | a3ebcc240c8923f9313ac6f789a8be26a83168a8 /src | |
parent | 63c0c73ba7df0c9ab59826dd004f06a91c669289 (diff) | |
download | scala-e00276d4b1c9d3da44ed8e0c506309d7ef84996d.tar.gz scala-e00276d4b1c9d3da44ed8e0c506309d7ef84996d.tar.bz2 scala-e00276d4b1c9d3da44ed8e0c506309d7ef84996d.zip |
Fixed overload resolution problem that resulted...
Fixed overload resolution problem that resulted from my fix on
ArrayBuffer.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/xml/transform/BasicTransformer.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/xml/transform/BasicTransformer.scala b/src/library/scala/xml/transform/BasicTransformer.scala index e20acdba70..43e42fb3ef 100644 --- a/src/library/scala/xml/transform/BasicTransformer.scala +++ b/src/library/scala/xml/transform/BasicTransformer.scala @@ -69,7 +69,7 @@ abstract class BasicTransformer extends Function1[Node,Node] { */ def transform(it: Iterator[Node], nb: NodeBuffer): Seq[Node] = { while (it.hasNext) - nb ++ transform(it.next); + nb ++= transform(it.next); freeze(nb) } @@ -92,7 +92,7 @@ abstract class BasicTransformer extends Function1[Node,Node] { } catch { case NeedsCopy(n2) => val nb = buffer(i, ns) - nb ++ n2 + nb ++= (n2:Iterable[xml.Node]) transform(it, nb) } } |