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

Implicit parameters should emit a warning under -source future at call site #22440

Open
hamzaremmal opened this issue Jan 23, 2025 · 0 comments · May be fixed by #22441
Open

Implicit parameters should emit a warning under -source future at call site #22440

hamzaremmal opened this issue Jan 23, 2025 · 0 comments · May be fixed by #22441
Assignees
Labels
area:implicits related to implicits itype:bug

Comments

@hamzaremmal
Copy link
Member

Compiler version

0e567c1

Minimized code

def foo(implicit x: Int): Int = x
foo(0)

Output

Compiles without a warning

Expectation

The call to foo(0) should emit a warning and suggest using a using parameter list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:implicits related to implicits itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant