[Issue 2533] compiler falls with "assertion failed" message on wrong code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 11 16:33:07 PST 2009


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


resume755 at mail.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from resume755 at mail.ru  2009-01-11 18:33 -------
(In reply to comment #1)
> Doesn't crash for me, but produces (Windows):
> 
> ----- 1.039 -----
> bz2533.d(11): Error: bz2533.S.c!().a at bz2533.d(5) conflicts with
> bz2533.S.c!().a at bz2533.d(5)
> bz2533.d(11): Error: bz2533.S.c!().a at bz2533.d(5) conflicts with
> bz2533.S.c!().a at bz2533.d(5)
> ----- 2.023 -----
> bz2533.d(11): Error: overload set for res.a not allowed in struct declaration
> bz2533.d(11): Error: function expected before (), not 0 of type int
> bz2533.d(11): Error: overload set for res.a not allowed in struct declaration
> bz2533.d(11): Error: function expected before (), not 0 of type int
> ----------
> 
> Can you still reproduce on Linux?
> 

Bug is fixed in dmd 2.023
http://www.digitalmars.com/d/2.0/changelog.html#new2_023


-- 



More information about the Digitalmars-d-bugs mailing list