[Issue 11616] Introduce virtual keyword and remove virtual-by-default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 26 04:33:11 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11616
--- Comment #9 from yebblies <yebblies at gmail.com> 2014-02-26 23:33:07 EST ---
(In reply to comment #8)
> A possibly silly question, is this code OK (currently it compiles)?
>
>
> class Foo {
> virtual final void bar() {}
> }
> void main() {}
An oversight, it should give you an error the same as `@safe @system void
fun();` does. Please file a bug for it.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list