cleanup
This commit is contained in:
committed by
Pavel V. Talanov
parent
3f04672270
commit
8f98abc8a7
@@ -43,8 +43,6 @@ public open class ArrayWithoutInitializationExpression(val `type` : Type, val ex
|
|||||||
return getConstructorName(`type`) + "(" + size.toKotlin() + commaWithInit + ")"
|
return getConstructorName(`type`) + "(" + size.toKotlin() + commaWithInit + ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
private open fun getConstructorName(`type` : Type) : String {
|
private open fun getConstructorName(`type` : Type) : String = `type`.convertedToNotNull().toKotlin()
|
||||||
return AstUtil.replaceLastQuest(`type`.toKotlin())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user