setLength

Deprecated

Warning since 1.3

Error since 1.6

Use setLength(newLength: Int) instead

Replace with

setLength(newLength = l)

Since Kotlin

1.3