dave08
03/17/2019, 3:25 PMget(0)
could return null, and there's no isNotNull()
to assert and cast that it's not? Looking at the implementation it seems like the possibility for nulls is ignored?
operator fun <T : List<E>, E> Builder<T>.get(i: Int): Builder<E> =
get("element [$i] %s") { this[i] }