summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2007-05-04 08:16:07 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2007-05-04 08:16:07 +0000
commit93d985632fc345001bd830a10d093a2bf2558a81 (patch)
tree7c5aec219341fed1ac8ef1f24206b6cd3c3d9e43 /src
parent3c13a0fe5fa90d8b510be299a5999c04b83b7915 (diff)
downloadscala-93d985632fc345001bd830a10d093a2bf2558a81.tar.gz
scala-93d985632fc345001bd830a10d093a2bf2558a81.tar.bz2
scala-93d985632fc345001bd830a10d093a2bf2558a81.zip
the logging call I added in 10944 caused an inf...
the logging call I added in 10944 caused an infinite recursion unless the compiler was in debug mode (and of course I only tried the example with -debug on)
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/Types.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala
index 1c31a09bb9..9f10ab994b 100644
--- a/src/compiler/scala/tools/nsc/symtab/Types.scala
+++ b/src/compiler/scala/tools/nsc/symtab/Types.scala
@@ -1206,7 +1206,7 @@ A type's symbol should never be inspected directly.
else if (isHigherKinded)
PolyType(typeParams, transform(sym.info.resultType).normalize)
else {
- log("Error: normalizing "+this+" with mismatch between type params "+sym.info.typeParams+" and args "+args)
+ log("Error: normalizing "+sym.rawname+" with mismatch between type params "+sym.info.typeParams+" and args "+args)
//this
transform(sym.info.resultType).normalize // technically wrong, but returning `this' is even worse (cycle!)
// only happens when compiling `val x: Class' with -Xgenerics,