From 8ec1b9a8416f441606e86adb3a929cb136bf9612 Mon Sep 17 00:00:00 2001 From: soc Date: Wed, 4 Jan 2012 16:20:22 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20messages=20like=20=E2=80=9Cclass=20class?= =?UTF-8?q?=20...=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile/interface/API.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile/interface/API.scala b/compile/interface/API.scala index f6f71cb89..2bb9989b4 100644 --- a/compile/interface/API.scala +++ b/compile/interface/API.scala @@ -106,7 +106,7 @@ final class API(val global: Global, val callback: xsbti.AnalysisCallback) extend processType(in, t) match { case s: SimpleType => s - case x => warning("Not a simple type:\n\tType: " + t + " (class " + t.getClass + ")\n\tTransformed: " + x.getClass); Constants.emptyType + case x => warning("Not a simple type:\n\tType: " + t + " (" + t.getClass + ")\n\tTransformed: " + x.getClass); Constants.emptyType } private def types(in: Symbol, t: List[Type]): Array[xsbti.api.Type] = t.toArray[Type].map(processType(in, _)) private def projectionType(in: Symbol, pre: Type, sym: Symbol) =