summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Namers.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2009-02-24 11:54:40 +0000
committermichelou <michelou@epfl.ch>2009-02-24 11:54:40 +0000
commit57e95eb403c325594e17c6f84852bbdc49954fd6 (patch)
tree8822a041b7a53f08943473a2eef8685776cac1f1 /src/compiler/scala/tools/nsc/typechecker/Namers.scala
parentbf35b888e49afb245883571cc00cbb5ec7341f24 (diff)
downloadscala-57e95eb403c325594e17c6f84852bbdc49954fd6.tar.gz
scala-57e95eb403c325594e17c6f84852bbdc49954fd6.tar.bz2
scala-57e95eb403c325594e17c6f84852bbdc49954fd6.zip
removed deprecated for-loops
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
index e43ddddea9..117e6a79e7 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -420,7 +420,7 @@ trait Namers { self: Analyzer =>
tp match {
case TypeBounds(lo, hi) =>
// check that lower bound is not an F-bound
- for (val t <- lo) {
+ for (t <- lo) {
t match {
case TypeRef(_, sym, _) => sym.initialize
case _ =>