I'm getting this compiler error: ```e: java.lang.I...
# getting-started
o
I'm getting this compiler error:
Copy code
e: java.lang.IllegalStateException: Unexpected member: <DANGLING MODIFIER: Top level declaration expected>
	at org.jetbrains.kotlin.fir.backend.Fir2IrConverter.processMemberDeclaration(Fir2IrConverter.kt:551)
	...
when compiling a hefty chunk of generated code. How can I find which source file(s) is problematic? No Gradle logging option up to and including
--debug
makes the compiler print any more information.
o
Run the compiler with a debugger attached and set a breakpoint at
Fir2IrConverter.kt:551
?