[Issue 9551] template this parameter not recognized in constructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 9 18:10:12 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=9551
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nick at geany.org
Resolution|--- |FIXED
--- Comment #10 from Nick Treleaven <nick at geany.org> ---
(In reply to Gor Gyolchanyan from comment #0)
> Base b = new Derived;
> b(); // 100% transparent dynamic dispatch
The code compiles with dmd v2.077.1 (if you add a dummy argument above, to
match the signature, e.g. b(4)).
--
More information about the Digitalmars-d-bugs
mailing list