Skip to content

Implicit parameters should emit a warning at call site #22440

Closed
@hamzaremmal

Description

@hamzaremmal

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions