diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2007-05-15 23:27:30 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2007-05-15 23:27:30 +0000 |
commit | 8d6dced8a08efa789f69f68cca7883631365ebc1 (patch) | |
tree | 929ced958a1cfecde5930a59e81e507c24279d9a /src | |
parent | c4181de5eb0fd4e2f03a67d3e1c7a13dd90c2860 (diff) | |
download | scala-8d6dced8a08efa789f69f68cca7883631365ebc1.tar.gz scala-8d6dced8a08efa789f69f68cca7883631365ebc1.tar.bz2 scala-8d6dced8a08efa789f69f68cca7883631365ebc1.zip |
fixed 1106
Diffstat (limited to 'src')
-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 60e39bcebf..07fb96923b 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -1685,6 +1685,7 @@ A type's symbol should never be inspected directly. case TypeRef(pre, sym, _) => typeRef(pre, sym, args) case PolyType(tparams, restpe) => restpe.instantiateTypeParams(tparams, args) case ErrorType => tycon + case st: SingletonType => appliedType(st.widen, args) // @M TODO: what to do? see bug1 case _ => Console.println(tycon.getClass()) Console.println(tycon.$tag()) |