Skip to content

Incorrect "no implicit view" error message when an implicit of a subtype of => is missing #10603

Closed
@neko-kai

Description

@neko-kai

Minimized code

scala> implicitly[List[Boolean]]
1 |implicitly[List[Boolean]]
  |                         ^
  |                         No implicit view available from Int => Boolean.

Expectation

Expected an error like

no implicit argument of type List[Boolean] was found for parameter e of method implicitly in object Predef

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions