koin-annotations
koin-annotations copied to clipboard
Failed when generate AppModule without package.
trafficstars
Describe the bug when put AppModule in root(without any package), generated code is in the syntax error.
@Module
@ComponentScan
class AppModule
put in root
generated code
package org.koin.ksp.generated
import org.koin.core.module.Module
import org.koin.dsl.*
public val _AppModule : Module get() = module {
single() { MyComponent() }
}
public val .AppModule.module : org.koin.core.module.Module get() = _AppModule
To Reproduce Here is the git repository. https://github.com/adamglin0/koin-annotations-bug-sample