scala / bug

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

Nilary / nullary override warning with BeanProperty #12815

Closed lrytz closed 1 year ago

lrytz commented 1 year ago

On 2.13:

scala> trait T { def getName: String }
scala> class C(@beans.BeanProperty val name: String) extends T
                                       ^
       warning: method with a single empty parameter list overrides method without any parameter list
som-snytt commented 1 year ago

I always spill the beans. Is this because I moved the check to refchecks?