Skip to content

Broken error message for "implicit function type needs non-empty parameter list" #4127

Closed
@smarter

Description

@smarter
scala> val x: implicit () => Int = () => 1 
1 |val x: implicit () => Int = () => 1
  |       ^^^^^^^^^^^^^^^^^^
  |(true,implicit) (true,erased) function type needs non-empty parameter list

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions