Replace ConeFunctionType with ConeClassType

This commit is contained in:
Simon Ogorodnik
2019-04-08 15:42:31 +03:00
committed by Mikhail Glukhikh
parent 93cb23a498
commit b38f3a1272
7 changed files with 14 additions and 64 deletions
@@ -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<")