Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
553 stars 44 forks source link

Global type imported instead of namespaced type leads to compilation failure #342

Closed hunterwerlla closed 4 years ago

hunterwerlla commented 4 years ago

Using Dukat 0.5.7 and Kotlin 1.4.0-rc, generating externals for "@types/vscode":

    implementation(npm("@types/vscode", "1.42.0", generateExternals = true))

imports the wrong type Event. It imports org.w3c.dom.events.Event but it should be importing event from here. It properly generates Event from VSCode, but It's pulling in Event from the import org.w3c.dom.events.* and not adding the import for vscode.Event

NickAcPT commented 4 years ago

I am also hitting this issue. Is there any possible workaround?

trilis commented 4 years ago

Looks like this issue was resolved alongside with #379 and doesn't reproduce in master, so I'm closing this