(Originally reported by Thomas Kuehne <thomas-dloop@kuehne.cn> on 2005年11月02日 in news:th-0AA4B81A0D5ACA3BC73EDCE5@birke.kuehne.cn) # # 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
Fixed dmd 1.023 and 2.007
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル