mirror of https://github.com/sbt/sbt.git
Merge pull request #1477 from puffnfresh/dont-warn-not-simple-types
Change "Not a simple type" warning to log message
This commit is contained in:
commit
775b21eef2
|
|
@ -149,7 +149,7 @@ class ExtractAPI[GlobalType <: CallbackGlobal](val global: GlobalType,
|
|||
private def simpleType(in: Symbol, t: Type): SimpleType =
|
||||
processType(in, t) match {
|
||||
case s: SimpleType => s
|
||||
case x => warning("Not a simple type:\n\tType: " + t + " (" + t.getClass + ")\n\tTransformed: " + x.getClass); Constants.emptyType
|
||||
case x => log("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) =
|
||||
|
|
|
|||
Loading…
Reference in New Issue