Skip to content

compiletime.summonInline should yield the missing implicit error #12412

Closed
@soronpo

Description

@soronpo

Compiler version

v3.0.0-RC3

Minimized code

@annotation.implicitNotFound("Missing")
trait Missing
val x = compiletime.summonInline[Missing] 

Output

3 |val x = compiletime.summonInline[Missing]
  |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |        cannot reduce summonFrom with
  |         patterns :  case given t @ _:Missing

Expectation

expecting "Missing" error.

@nicolasstucki I can take care of this, by implementing summonInline directly in the compiler.
If this is acceptable, I will submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions