Replace ConeFunctionType with ConeClassType
This commit is contained in:
committed by
Mikhail Glukhikh
parent
93cb23a498
commit
b38f3a1272
@@ -57,18 +57,6 @@ fun ConeKotlinType.render(): String {
|
||||
is ConeTypeParameterType -> {
|
||||
lookupTag.name.asString()
|
||||
}
|
||||
is ConeFunctionType -> {
|
||||
buildString {
|
||||
receiverType?.let {
|
||||
append(it.render())
|
||||
append(".")
|
||||
}
|
||||
append("(")
|
||||
parameterTypes.joinTo(this) { it.render() }
|
||||
append(") -> ")
|
||||
append(returnType.render())
|
||||
}
|
||||
}
|
||||
is ConeFlexibleType -> {
|
||||
buildString {
|
||||
append("ft<")
|
||||
|
||||
Reference in New Issue
Block a user