Fixed
Status Update
Comments
lp...@google.com <lp...@google.com>
cy...@gmail.com <cy...@gmail.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
ap...@google.com <ap...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
Compose Compiler: 1.5.7
Kotlin: 1.9.21
I don't expect this code to do anything sensible, but the compiler shouldn't throw an exception.
This should have a better compile time error message and not throw an exception. Something like:
e: blah blah blah is not allowed in @Composable at line XYZ
OR it should compile successfully and then throw
StackOverflowException
at runtime if that composable is called.This code:
Causes this exception at build time: