← Back to index
|
Original Bugzilla link
Bug 725 – expression.c:6516: virtual Expression* MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()' failed.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-23T07:08:00Z
Last change time
2014-02-15T13:20:52Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2006-12-23T07:08:00Z
(Originally reported by Thomas Kuehne <
[email protected]
> on 2005-11-02 in news:
[email protected]
) # # class X{ # float a; # } # # void main(){ # X x; # float a; # # a -= x; # } # 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
Comment #1
by bugzilla — 2007-11-03T21:44:15Z
Fixed dmd 1.023 and 2.007