Skip to content

No inferred types for apply signatureHelp #15284

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

Closed
rochala opened this issue May 24, 2022 · 0 comments · Fixed by #15278
Closed

No inferred types for apply signatureHelp #15284

rochala opened this issue May 24, 2022 · 0 comments · Fixed by #15278

Comments

@rochala
Copy link
Contributor

rochala commented May 24, 2022

Compiler version

3.1.3-RC3

Minimized code

At the moment compiler only supports inferred generic types for unapply signature help. We should change it to properly infer types for normal function applications.

object M:
  Option(1).fold($m1

Output

fold[B](ifEmpty: => B)(f: A => B): B

Expectation

fold[B](ifEmpty: => B)(f: Int => B): B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant