The following code snippet fails to compile: ```fu...
# compose
m
The following code snippet fails to compile:
Copy code
fun 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.