Hello, I am getting this warning when I a compile ...
# compose
p
Hello, I am getting this warning when I a compile a brand new android project that uses compose 1.0.1 and kotlin 1.5.21:
Copy code
w: ATTENTION!
This build uses unsafe internal compiler arguments:

-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes

This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
I would like to use compose in production and I am just wondering if I should be worried about this.
m
Shouldn’t this be 1.5.21 for 1.0.1?
p
Yes correct it is 1.5.21
Ive corrected it now
The warning is still there. Should this be a concern ?
z
I don’t think you need to be concerned. This is the experimental syntax feature that allows you to write
content: @Composable () -> Unit
instead of
content: @Composable() () -> Unit
. I don’t believe it has any effect on behavior or bytecode.