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
Exhibit 1:
package foo fun interface Callback { fun doit(): Unit } fun foo(cb: () -> Unit) {} // (1) fun foo(cb: Callback) {} // (2) fun test() { foo {} // resolved to (1) }
Exhibit 2:
package foo fun ambiguous(sfn: suspend () -> Unit) = sfn // (1) fun ambiguous(fn: () -> Unit) = fn // (2) fun test(fn: () -> Unit) = ambiguous(fn) // resolved to (2) // Note: this will need fixing after the compatibility mode disabling
Some additional info available at Quip (Disabling new inference compatibility mode).
The text was updated successfully, but these errors were encountered:
Probably this needs to be postponed for after a more complete SAM conversion design w.r.t. overload resolution is achieved
Sorry, something went wrong.
No branches or pull requests
Exhibit 1:
Exhibit 2:
Some additional info available at Quip (Disabling new inference compatibility mode).
The text was updated successfully, but these errors were encountered: