-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug
Description
As https://dotty.epfl.ch/docs/reference/other-new-features/open-classes.html mentions:
Traits or abstract classes are always open, so open is redundant for them.
But right now open trait Foo
and open abstract class Foo
compile without error, they should at least emit a warning, like final object Foo
already does.
Metadata
Metadata
Assignees
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug