(Originally reported by <BCS@pathlink.com> on 2006年06月16日 in news:e6umde2ドルok02ドル@digitaldaemon.com) # # void main(){ # int i = 2; # # switch(3){ # scope(exit) i--; # # default: # } # # if(i != 2){ # assert(0); # } # } # GDC isn't affected by this. test cases: http://dstress.kuehne.cn/run/s/switch_22_A.d http://dstress.kuehne.cn/run/s/switch_22_B.d http://dstress.kuehne.cn/run/s/switch_22_C.d http://dstress.kuehne.cn/run/s/switch_22_D.d http://dstress.kuehne.cn/run/s/switch_22_E.d http://dstress.kuehne.cn/run/s/switch_22_F.d http://dstress.kuehne.cn/run/s/switch_22_G.d http://dstress.kuehne.cn/run/s/switch_22_H.d http://dstress.kuehne.cn/run/s/switch_22_I.d http://dstress.kuehne.cn/run/s/switch_22_J.d
*** Bug 214 has been marked as a duplicate of this bug. ***
Fixed in DMD-1.00
Sorry, didn't realise that this was a DMD-only issue and confused GDC-0.21 with DMD-1.00.
Fixed dmd 1.023 and 2.007
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル