-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:exportarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcitype:bug
Milestone
Description
Compiler version
Scala compiler version 3.6.4-RC1-bin-SNAPSHOT-nonbootstrapped-git-bd07317 -- Copyright 2002-2024, LAMP/EPFL
Minimized example
trait P:
def foo: Int
class A extends P:
export this.foo
Output
No error or warning.
We generate the following cyclic definition:
class A() extends Object(), Test.P {
export this.foo
final def foo: Int = this.foo
}
Expectation
I would expect at least a warning here.
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:exportarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcitype:bug