Overload resolution ambiguity. All these functions match.
public open fun <T : Any!> array(vararg values: TypeVariable(T)!): Field<Array<(out) TypeVariable(T)!>!> defined in org.jooq.impl.DSL
public open fun <T : Any!> array(vararg fields: Field<TypeVariable(T)!>!): Field<Array<(out) TypeVariable(T)!>!> defined in org.jooq.impl.DSL
It works in Java, but not in Kotlin. I can't use
null
or `emptyArray()`/`emptyList()` because that produces the wrong results =/