Skip to content

existential separate compilation bug #1086

@scabug

Description

@scabug

Two files:

  // Constraints.scala
  package server
  trait Constraints {
    class ConstraintEntry(constraint : List[_])
  }

and

  // Test.scala
  package server
  object Test extends Constraints

Clean compile no problem. Afterwards compile test (in a fresh compiler instance):

"object creation impossible, since type _$$1 in trait Constraints with bounds >: Nothing <: Any is not defined"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions