koin-annotations icon indicating copy to clipboard operation
koin-annotations copied to clipboard

Failed when generate AppModule without package.

Open adamglin0 opened this issue 1 year ago • 0 comments
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 image

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

adamglin0 avatar Jul 29 '24 01:07 adamglin0