Skip to content

Typer crashes when omitting new for instance generation #11230

@ascienta

Description

@ascienta

Using M3, the following code crashes the typer (not in vsc but in sbt on console):

class CrashTyper(i: Int) {}
object CrashTyper {
  def init: CrashTyper = CrashTyper(0) 
}

The following compiles:

class CrashTyper(i: Int) {}
object CrashTyper {
  def init: CrashTyper = new CrashTyper(0) 
}

sbt 1.4.6, linker plugin is 0.5.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions