We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type ErrorHook<O, E> = (error: E, options: O) => void type AfterHook<O, R> = (result: R, options: O) => void type AnyHook<O, R, E> = | ErrorHook<O, E> | AfterHook<O, R> export interface HookCollection { remove(name: string, hook: AnyHook<any, any, any>): void }
generates:
typealias ErrorHook<O, E> = (error: E, options: O) -> Unit typealias AfterHook<O, R> = (result: R, options: O) -> Unit external interface HookCollection { fun remove(name: String, hook: ErrorHook<Any, Any>) fun remove(name: String, hook: AfterHook<Any, Any>) }
which results in CONFLICTING_OVERLOADS fail, because ErrorHook and AfterHook should be the same after unaliasing.
Source: https://youtrack.jetbrains.com/issue/KT-40711#focus=Comments-27-4330455.0-0
The text was updated successfully, but these errors were encountered:
trilis
Successfully merging a pull request may close this issue.
generates:
which results in CONFLICTING_OVERLOADS fail, because ErrorHook and AfterHook should be the same after unaliasing.
Source: https://youtrack.jetbrains.com/issue/KT-40711#focus=Comments-27-4330455.0-0
The text was updated successfully, but these errors were encountered: