diff options
author | Martin Odersky <odersky@gmail.com> | 2007-11-21 08:54:51 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-11-21 08:54:51 +0000 |
commit | 1bdf2c4ebf0a863756192d4879102710e839fec2 (patch) | |
tree | 652155d4fa1b74fabe6b6fd4908cf1204506c9dd /src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala | |
parent | c8fab9ec7d779b4adcebab6ae6294ee7be37a5d2 (diff) | |
download | scala-1bdf2c4ebf0a863756192d4879102710e839fec2.tar.gz scala-1bdf2c4ebf0a863756192d4879102710e839fec2.tar.bz2 scala-1bdf2c4ebf0a863756192d4879102710e839fec2.zip |
changed SuperAccessors for t010; reassigned to ...
changed SuperAccessors for t010; reassigned to Iulian
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala b/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala index c8691d11a8..bf847b3a58 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala @@ -227,6 +227,7 @@ abstract class SuperAccessors extends transform.Transform with transform.TypingT /** Return a list of list of types of all value parameter sections. */ def allParamTypes(tpe: Type): List[List[Type]] = tpe match { + case PolyType(_, restpe) => allParamTypes(restpe) case MethodType(pts, res) => pts :: allParamTypes(res) case _ => Nil } |