add $current_locals global to wl_yield