[Issue 19089] Compiler crash for using struct &this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 18 11:16:43 UTC 2018


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

Basile B. <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE
                 CC|                            |b2.temp at gmx.com

--- Comment #1 from Basile B. <b2.temp at gmx.com> ---
"List l = 0;" is done at compile time. This shouldn't be allowed since there's
a pointer operation. put "writeln(&this);" in the ctor to see an evidence.

--


More information about the Digitalmars-d-bugs mailing list