Summary: Segfault with import of invalid template
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Robert Clipsham <> 2011-12-28 
18:34:52 GMT ---
static if(is(typeof({import typecons;}()))){

template populate(overloads...)
    mixin populate!(.contents);
public mixin populate!int;

With the above code, dmd segfaults when using "dmd -c a.d". While typecons.d is
invalid, a.d is valid, and it should compile regardless of the validity of
typecons. Note that this can probably be triggered with valid code in
typecons.d as it was reduced from std.typecons.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to