[Issue 1041] regression: incorrect code generation for scope(exit) inside switch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 11 22:29:44 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1041





------- Comment #2 from thomas-dloop at kuehne.cn  2007-03-12 00:29 -------
I think one can interpret

# switch(3){
#    scope(exit) i--;
#    default:
#       ;
# }

as

# goto Ldefault;{
#    scope(exit) i--;
#    Ldefault:
#       ;
# }


-- 



More information about the D.gnu mailing list