replaced tree.symbol.typeSignature with tree.tpe.widen, so it works in 2.11