[Issue 1604] Non-final method on final struct is too restrictive

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 12 03:39:26 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1604





------- Comment #6 from brunodomedeiros+bugz at gmail.com  2008-09-12 05:39 -------
(In reply to comment #5)
> Indeed, as I try it now, the compiler doesn't even seem to accept declaring a
> variable as final anywhere.  Strange - there's nothing in the changelog about
> this being removed.
> 

Yes, there wasn't anything in the changelog, but 'final' (and any equivalent
concept) was removed from D2 when the new const system was introduced.


-- 



More information about the Digitalmars-d-bugs mailing list