www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 779] New: init.c:103: virtual Expression* VoidInitializer::toExpression(): Assertion `0' failed.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=779

           Summary: init.c:103: virtual Expression*
                    VoidInitializer::toExpression(): Assertion `0' failed.
           Product: D
           Version: 0.178
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


(this is a variation of issue #628)

#
# typedef int T = 0x12_34_FF_56;
#
# void main(){
#    T x = void;
#    x = x.init;
# }
#

test case:
http://dstress.kuehne.cn/run/v/void_05_B.d


-- 
Dec 30 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=779


bugzilla digitalmars.com changed:

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




------- Comment #1 from bugzilla digitalmars.com  2007-01-03 22:56 -------
Fixed DMD 1.00


-- 
Jan 03 2007