RFC: DIP draft for "Compiler-defined Attribute Consistency"

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Tue Jul 27 14:00:01 UTC 2021


On Monday, 26 July 2021 at 12:07:01 UTC, Nick Treleaven wrote:
> Really using `abstract class` or `final class` is just another 
> way of writing `class Foo {final: ...` or `class Foo {abstract: 
> ...`. So the attributes actually apply to the methods.

Not sure about final modifier. By your definition you would be 
able to extend a final class, which is not right.


More information about the Digitalmars-d mailing list