summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-04-09 09:35:25 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-04-09 09:35:25 +0000
commita5958d5bb559a392dc0daa7914cad6e1af5486ca (patch)
tree84967481ddf4f517987af6ada3e650254631f66d
parentcb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c (diff)
downloadscala-a5958d5bb559a392dc0daa7914cad6e1af5486ca.tar.gz
scala-a5958d5bb559a392dc0daa7914cad6e1af5486ca.tar.bz2
scala-a5958d5bb559a392dc0daa7914cad6e1af5486ca.zip
CLRTypes: mutable sequence was modified while i...
CLRTypes: mutable sequence was modified while iterating over it.
-rw-r--r--src/compiler/scala/tools/nsc/symtab/clr/CLRTypes.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/clr/CLRTypes.scala b/src/compiler/scala/tools/nsc/symtab/clr/CLRTypes.scala
index d2f75693ea..7ce26a2e25 100644
--- a/src/compiler/scala/tools/nsc/symtab/clr/CLRTypes.scala
+++ b/src/compiler/scala/tools/nsc/symtab/clr/CLRTypes.scala
@@ -209,9 +209,8 @@ abstract class CLRTypes {
assemblies += assem
}
}
- assemrefs -= file
}
- assert(assemrefs.isEmpty, assemrefs.toString)
+ assemrefs.clear
}
//##########################################################################
@@ -219,7 +218,7 @@ abstract class CLRTypes {
/** Find the position of the first type whose name starts with
* the given prefix; return the length of the types array if no match
- * is found so the result can be used to terminate loop conditions
+ * is found so the result canbe used to terminate loop conditions
*/
private def findFirst(prefix: String): Int = {
var m = 0