[Issue 14027] segmentation fault in dmd in some circular import situation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu May 11 16:46:42 PDT 2017


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The files are:
----------- module_a.d -----------
module module_a;
import module_b;

enum U = 1;
----------- module_b.d -----------
module module_b;
import module_a;

struct J(int M) {}

struct Y {
    J!U x;
}
----------------------------------

--


More information about the Digitalmars-d-bugs mailing list