Funny case where whitespace between tokens makes a...
# compiler
a
Funny case where whitespace between tokens makes a difference. This compiles:
Copy code
typealias ComposableFunction = @Composable (value: Int) -> Unit
but this doesn’t:
Copy code
typealias ComposableFunction = @Composable(value: Int) -> Unit
e
more fun:
Copy code
typealias A = @Suppress () -> Unit // OK
typealias B = @Suppress() () -> Unit // OK
typealias C = @Suppress () () -> Unit // OK
typealias D = @Suppress() -> Unit // not OK