This commit is contained in:
Dmitry Jemerov
2012-05-21 17:40:51 +02:00
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 + ")"
}
private open fun getConstructorName(`type` : Type) : String {
return AstUtil.replaceLastQuest(`type`.toKotlin())
}
private open fun getConstructorName(`type` : Type) : String = `type`.convertedToNotNull().toKotlin()
}
}