summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-13.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-11-18 15:58:29 +0000
committerMartin Odersky <odersky@gmail.com>2003-11-18 15:58:29 +0000
commit34806cbc476135ae4c42402c26eea9c897e108fe (patch)
tree2c7eee812dd2ae2b079f85891f7f9b92f1d1671f /test/files/run/Course-2002-13.scala
parent5fb655da1e4efa67f2b2fccdf87a45c0d88090e7 (diff)
downloadscala-34806cbc476135ae4c42402c26eea9c897e108fe.tar.gz
scala-34806cbc476135ae4c42402c26eea9c897e108fe.tar.bz2
scala-34806cbc476135ae4c42402c26eea9c897e108fe.zip
*** empty log message ***
Diffstat (limited to 'test/files/run/Course-2002-13.scala')
-rw-r--r--test/files/run/Course-2002-13.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-13.scala b/test/files/run/Course-2002-13.scala
index 541008bb1b..3a6b7c8718 100644
--- a/test/files/run/Course-2002-13.scala
+++ b/test/files/run/Course-2002-13.scala
@@ -166,7 +166,7 @@ object Programs {
(lhs.tyvars ::: (rhs flatMap (t => t.tyvars))).removeDuplicates;
def newInstance = {
var s: Subst = List();
- for (val a <- tyvars) do { s = Binding(a, newVar(a)) :: s }
+ for (val a <- tyvars) { s = Binding(a, newVar(a)) :: s }
Clause(lhs map s, rhs map (t => t map s))
}
override def toString() =