Don't forget to optimise control recursively

This commit is contained in:
Cédric Pasteur 2011-11-24 16:09:47 +01:00
parent 1b73f3444e
commit 3369f6dffc

View file

@ -122,7 +122,8 @@ and joinhandlers j h1 h2 =
with Not_found -> s1, h2 in
(c1, join_block j s1') :: joinhandlers j h1' h2'
let block _ j b =
let block funs j b =
let b, _ = Obc_mapfold.block funs j b in
{ b with b_body = joinlist j b.b_body }, j
let class_def funs acc cd =