Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved reference: AsyncGenerator in generated code when adding @actions/glob as a npm dependency #478

Open
ilgonmic opened this issue Jan 24, 2022 · 0 comments

Comments

@ilgonmic
Copy link
Collaborator

🕗 Version

0.5.8-rc.4

💻 Code or Package Name

@actions/glob 0.1.0

🙁 Actual behavior

Creating of unresolved reference

Generated code

@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")

import kotlin.js.*
import kotlin.js.Json
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.w3c.dom.parsing.*
import org.w3c.dom.svg.*
import org.w3c.dom.url.*
import org.w3c.fetch.*
import org.w3c.files.*
import org.w3c.notifications.*
import org.w3c.performance.*
import org.w3c.workers.*
import org.w3c.xhr.*

external interface Globber {
    fun getSearchPaths(): Array<String>
    fun glob(): Promise<Array<String>>
    fun globGenerator(): AsyncGenerator<String, Unit>  // <-- Unresolved reference
}

https://youtrack.jetbrains.com/issue/KT-40933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant