diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/DocUtil.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/DocUtil.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/DocUtil.scala b/src/compiler/scala/tools/nsc/doc/DocUtil.scala index 3a6f2812dd..c719ad1cc6 100644 --- a/src/compiler/scala/tools/nsc/doc/DocUtil.scala +++ b/src/compiler/scala/tools/nsc/doc/DocUtil.scala @@ -92,8 +92,8 @@ object DocUtil { var ts = ts0 for (t <- ts1.elements) { if (!ts.contains(t._1)) - ts = ts.update(t._1, new TreeSet[S]); - ts = ts.update(t._1, merge(ts(t._1), t._2)) + ts = ts.add(t._1, new TreeSet[S]); + ts = ts.add(t._1, merge(ts(t._1), t._2)) } ts } |