Thread
#compose
    p

    Pawel

    1 year ago
    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:
    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.
    Michael Paus

    Michael Paus

    1 year ago
    Shouldn’t this be 1.5.21 for 1.0.1?
    p

    Pawel

    1 year ago
    Yes correct it is 1.5.21
    Ive corrected it now
    The warning is still there. Should this be a concern ?
    Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    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.