Manuel Wrage
12/11/2020, 8:49 PMfun func1(children: @Composable () -> Unit = TODO()) {
}
It shows the following error:
Type inference failed. Expected type mismatch: inferred type is Nothing but @Composable() () -> Unit was expected
.
The Nothing
type extends every type so this should work.