For final, override, abstract, and synchronized attributes, I'm trying to relax the limitation in:
https://issues.dlang.org/show_bug.cgi?id=2091 https://github.com/D-Programming-Language/dmd/pull/4714 Kenji Hara 2015-06-03 13:47 GMT+09:00 ketmar via Digitalmars-d < digitalmars-d@puremagic.com>: > On Wed, 03 Jun 2015 02:40:55 +0200, Artur Skawina via Digitalmars-d wrote: > > > On 06/03/15 01:41, ketmar via Digitalmars-d wrote: > >> On Tue, 02 Jun 2015 18:49:09 +0200, Artur Skawina via Digitalmars-d > >> wrote: > >> > >>> On 06/02/15 14:21, ketmar via Digitalmars-d wrote: > >>>> this opens a can of worms. should this be accepted too: > >>>> enum doItFinal = false; > >>>> final(doItFinal) > >>>> ? > >>>> > >>>> or even > >>>> final(someFunnyTemplate!(with_, args, andOtherTemplate!"too")) > >>>> ? > > > >>> Of course. > >> > >> this is bad. it smells. it adds almost nothing in terms of uniformity. > >> and i'm sure that Hackerpilot will be happy to know that he now needs a > >> full-blown D interpreter to determine if some method is virtual or not. > >> ;-) > > > > An interpreter is required anyway. > > and the idea is still bad.