scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
230 stars 21 forks source link

`AnyRef` does not name a parent class of `Ref` #12925

Open noresttherein opened 5 months ago

noresttherein commented 5 months ago

Reproduction steps

Scala version: 2.13.11

    class Ref extends AnyRef {
        override def clone :Ref = super[AnyRef].clone
    }

Problem

AnyRef does not name a parent class of class Ref
        override def clone :Ref = super[AnyRef].clone

Not much of an issue, since Object works, but still.

SethTisue commented 5 months ago

3.4.0-RC3 is affected as well.