ValV
09/25/2018, 11:28 PMCannot use 'CapturedTypeConstructor(out ObjectProperty<Any>)' as reified type parameter?robin
09/26/2018, 8:27 AMValV
09/26/2018, 1:10 PMtableview { column("New", SimpleObjectProperty::class).useTextField() }
there is implementation of the function:
inline fun <S, reified T> TableColumn<S, T?>.useTextField(...) = apply { ... }
I know, it's TornadoFX-specific and, perhaps, misuse of the functionValV
09/26/2018, 1:14 PMCapturedTypeConstructor?robin
09/26/2018, 1:17 PMcolumn?ValV
09/26/2018, 1:27 PMfun <S, T: Any> TableView<S>.column(String, KClass<T>, TableColumn<S, T>.() -> Unit = {}): TableColumn<S, T>ValV
09/26/2018, 1:34 PMuseTextField() is used with no arguments it ends up with requireNotNull. But I think useTextField is not even called (in this case)robin
09/26/2018, 1:35 PMValV
09/26/2018, 1:36 PMrobin
09/26/2018, 1:39 PMrobin
09/26/2018, 1:40 PMinline fun <S, reified T> TableColumn<S, T?>.useTextField() = apply { }
to
inline fun <S, reified T> TableColumn<S, T>.useTextField() = apply { }
(Make T non-nullable)robin
09/26/2018, 1:40 PMValV
09/26/2018, 1:42 PM.. column(...) { useTextField() } i.e. useTextField() inside the columnValV
09/26/2018, 1:44 PMuseTextField