What can trigger a `java.lang.IllegalStateExceptio...
# compose-web
m
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.
o
m
@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
1
n
i assume you meant to tag @olonho
m
whoops, sorry
Submitted a issue, however I'm still not sure what causes the exception https://github.com/JetBrains/compose-jb/issues/656
j
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?
m
@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 🙂