Skip to content

Warn on erased definitions with ??? #11739

Open
@nicolasstucki

Description

@nicolasstucki

Compiler version

3.0.0-RC1

Minimized example

erased given CanThrow[Ex1] = ???

Expectation

It should emit a warning suggesting the code

import scala.compiletime.erasedValue

erased given CanThrow[Ex1] = erasedValue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions