http://d.puremagic.com/issues/show_bug.cgi?id=7108



--- Comment #2 from pelo <dl...@chilon.net> 2011-12-14 07:23:09 PST ---
(In reply to comment #1)
> I found a null dereference bug in TraitsExp::semantic().
> Following code kills dmd.
> 
> static assert(!__traits(hasMember, int, "x"));
> 
> In your environment, can you get similar backtrace?

Yes!  Here is my code:

int main(string argv[]) {
    static assert(! __traits(hasMember, int, "x"));
    return 0;
}

I try to compile:

% dmd yo.d
zsh: segmentation fault (core dumped)  dmd yo.d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to