[Issue 12681] Rewrite rule prevents unique detection

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 29 18:53:45 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12681

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
> /* Rewrite:
>  *   new S(arguments)
>  * as:
>  *   (((S* __newsl = new S()), (*__newsl = S(arguments))), __newsl)
>  */

One easy way is to move the rewriting to glue layer (in old days I couldn't do
it).

--


More information about the Digitalmars-d-bugs mailing list