Bug: remember {} causes compilation error inside composable functions
When using remember {} inside a @composable function that is defined within a class body or nested lambda, the compiler throws an error. It only works when placed in a top-level @composable function in a separate file.
Expected: Builds successfully
Actual: Compilation error
Bug: remember {} causes compilation error inside composable functions
When using remember {} inside a @composable function that is defined within a class body or nested lambda, the compiler throws an error. It only works when placed in a top-level @composable function in a separate file.
Expected: Builds successfully
Actual: Compilation error