From 4c6fe54d34878e269b26abbb2cf41409ee48ca83 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 23 Feb 2016 20:27:16 +0900 Subject: [PATCH] [bugfix] dynamic-wind is broken --- extlib/benz/cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/cont.c b/extlib/benz/cont.c index 64f269a2..2f3e8ce9 100644 --- a/extlib/benz/cont.c +++ b/extlib/benz/cont.c @@ -81,7 +81,7 @@ pic_wind(pic_state *pic, struct checkpoint *here, struct checkpoint *there) pic_call(pic, pic_obj_value(there->in), 0); } else { - pic_call(pic, pic_obj_value(there->out), 0); + pic_call(pic, pic_obj_value(here->out), 0); pic_wind(pic, here->prev, there); } }