www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 725] New: expression.c:6516: virtual Expression* MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()' failed.

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

           Summary: expression.c:6516: virtual Expression*
                    MinAssignExp::semantic(Scope*): Assertion `e2->type-
                    >isfloating()' failed.
           Product: D
           Version: 0.177
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


(Originally reported by Thomas Kuehne <thomas-dloop kuehne.cn> on 2005-11-02
in news:th-0AA4B81A0D5ACA3BC73EDCE5 birke.kuehne.cn)














nocompile/o/opSubAssign_18_A.d(21): Error: incompatible types for ((a) -= (x)):
'float' and 'dstress.nocompile.o.opSubAssign_18_A.X'
nocompile/o/opSubAssign_18_A.d(21): Error: 'x' is not an arithmetic type
dmd-0.177.bin: expression.c:6516: virtual Expression*
MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()' failed.

test cases:
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_A.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_B.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_C.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_D.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_E.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_F.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_G.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_H.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_I.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_J.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_K.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_L.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_M.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_N.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_O.d
http://dstress.kuehne.cn/nocompile/o/opSubAssign_18_P.d


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


bugzilla digitalmars.com changed:

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





Fixed dmd 1.023 and 2.007


-- 
Nov 03 2007