Thread
#compose-web
    MrPowerGamerBR

    MrPowerGamerBR

    1 year ago
    What can trigger a
    java.lang.IllegalStateException: Unreachable execution: there could not be back-links
    when compiling? I can't figure out what can trigger this exception, in my code sometimes even stuff like "having two composable calls with the same arguments" can cause this issue.
    olonho

    olonho

    1 year ago
    MrPowerGamerBR

    MrPowerGamerBR

    1 year ago
    @Nikky okay, thank you 🙂 I'm still trying to figure out what triggers the issue, it seems to be related to one of my custom
    Aside
    tags, however reproducing the issue seems very tricky because after changing the
    Aside
    tag signature, the exception goes away, even after reverting to the old signature
    Nikky

    Nikky

    1 year ago
    i assume you meant to tag @olonho
    MrPowerGamerBR

    MrPowerGamerBR

    1 year ago
    whoops, sorry
    Submitted a issue, however I'm still not sure what causes the exception https://github.com/JetBrains/compose-jb/issues/656
    jim

    jim

    1 year ago
    the exception goes away, even after reverting to the old signature
    If the exception goes away after reverting to the old signature, what happens if you do a
    gradle clean
    ? Presumably your gradle cache somehow got into a bad state?
    MrPowerGamerBR

    MrPowerGamerBR

    1 year ago
    @jim yes that's what I think it is happening, in the issue I was able to reproduce the bug by adding a
    instanceof
    in the code and using
    clean
    before recompiling fixed the issue, so I guess that's why reproducing the bug is difficult because it seems to only affect incremental builds 🙂