The second form results in a compiler error. It should be perfectly legal.
java.lang.IllegalStateException: non-adaptive call in rendering: input(, selector = local fun <anonymous>(): String {
return s
}
).rangeTo(instructions = <get-dpEditorInstructions>())
row {
text("left:")
input(*dpEditorInstructions) { s }
}
row {
text("bottom:")
input { s } .. dpEditorInstructions
}
The second form results in a compiler error. It should be perfectly legal.