Skip to content

Compile error with default implicit valueΒ #21938

@david04

Description

@david04

Compiler version

Scala 3.5.2

Minimized code

class C()(implicit s: String = ""); C()

Output

method $lessinit$greater$default$1 in object C must be called with () argument

Expectation

Should compile

Thanks to @SethTisue for the help with minimizing the sample code πŸ™‚

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions