diff options
author | Martin Odersky <odersky@gmail.com> | 2006-07-10 17:33:02 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-07-10 17:33:02 +0000 |
commit | 4b1eef7cf470497d578f74838c8be3c02ef73a66 (patch) | |
tree | 4f11dc41a2ace821b8325cfaa937ebeb4d710dd5 /src/compiler | |
parent | 49ea811d413fb912617e48252efe04e15e71d622 (diff) | |
download | scala-4b1eef7cf470497d578f74838c8be3c02ef73a66.tar.gz scala-4b1eef7cf470497d578f74838c8be3c02ef73a66.tar.bz2 scala-4b1eef7cf470497d578f74838c8be3c02ef73a66.zip |
fixed bug649
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Types.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index 117f4d73cf..02116df34f 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -976,6 +976,7 @@ trait Types requires SymbolTable { override def toString() = pre.toString() + targs.mkString("(with type arguments ", ",", ")"); override def memberType(sym: Symbol) = pre.memberType(sym) match { case PolyType(tparams, restp) => restp.subst(tparams, targs) + case ErrorType => ErrorType } } |