Skip to content

REPL crash with Eql #7644

Closed
Closed
@lrytz

Description

@lrytz

I have to admit the reporter was pretty stubborn at misreading the documentation in order to get there, and then trying once more, but anyways...

scala> class T extends Eql
1 |class T extends Eql
  |      ^
  |      Cannot extend sealed trait Eql in a different source file
1 |class T extends Eql
  |                ^^^
  |                Missing type parameter for Eql

scala> class T extends Eql
Exception in thread "main" java.lang.AssertionError: assertion failed: denotation module class internal invalid in run 2. ValidFor: Period(1..4, run = 3)
	at dotty.DottyPredef$.assertFail(DottyPredef.scala:17)
	at dotty.tools.dotc.core.Denotations$SingleDenotation.updateValidity(Denotations.scala:828)

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