[Issue 13297] [CTFE] Modifications of user type pointer member passed by ref in function disappear
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Jan 20 07:20:40 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=13297
Kenji Hara <k.hara.pg at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Denis Shelomovskij from comment #2)
> (In reply to Kenji Hara from comment #1)
> > 
> > You meant:
> >           return s.p != null; // false
> > ?
> 
> Yes, sorry.
OK, the CTFE issue is recently fixed by my CTFE engine cleanup.
https://github.com/D-Programming-Language/dmd/pull/4227
To avoid regression, will add a test case.
https://github.com/D-Programming-Language/dmd/pull/4319
--
    
    
More information about the Digitalmars-d-bugs
mailing list