This commit is contained in:
Igor Chevdar
2018-09-26 12:38:36 +03:00
parent 51f510f365
commit 7e6e05a129
@@ -124,7 +124,7 @@ private fun acyclicTypeMangler(visited: MutableSet<TypeParameterDescriptor>, typ
if (bound == "kotlin.Any?") "" else "_$bound"
}.joinToString("")
}
return "#GENERIC" + upperBounds
return "#GENERIC${if (type.isMarkedNullable()) "?" else ""}$upperBounds"
}
var hashString = type.getClass()!!.fqNameSafe.asString()