Skip to content

Type named $ is replaced by empty string in error messages #15381

Closed
@TomasMikula

Description

@TomasMikula

Compiler version

3.1.3-RC2

Minimized code

case class $[A](value: A)

def f(x: Int): Unit = {}

f(T(3))

Output

Found:   [Int]
Required: Int

Notice the missing $.

Expectation

Found:    $[Int]
Required: Int

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