From 93d985632fc345001bd830a10d093a2bf2558a81 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 4 May 2007 08:16:07 +0000 Subject: 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) --- src/compiler/scala/tools/nsc/symtab/Types.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3