Skip to content

Color leaks in error messages #3614

Closed
Closed
@OlivierBlanvillain

Description

@OlivierBlanvillain
trait Test[A]

object Test {
  val a = new Test[Int, Int, Int, Int, Int] {}
}
-- [E022] Syntax Error: /home/olivier/colol.scala:38:14 
38 |  val a = new Test[Int, Int, Int, Int, Int] {}
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |            Too many type arguments for Test[A]
   |            expected: [A]
   |            actual:   [35mInt0m, 35mInt0m, 35mInt0m, 35mInt0m, 35mInt0m]

Metadata

Metadata

Assignees

Labels

area:reportingError reporting including formatting, implicit suggestions, etcitype:enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions