Skip to content

-Yinfer-argument-types is not rejected as bad option but code using it causes the typechecker to crash #3532

Closed
@rcano

Description

@rcano

Trying to compile in dotty some code that compiles fine in scalac I found this issue. Dottyc does warn about other invalid settings but not this one, and code like

new EventHandler[Evt] {
 override def handle(evt) = ???
}

causes the typechecker to crash.

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