There was an error while loading. Please reload this page.
1 parent 7f53eb7 commit a85e373Copy full SHA for a85e373
1 file changed
core/KaSa_rep/frontend/diff.ml
@@ -461,7 +461,7 @@ let extract index_list list =
461
| h :: t, _ :: b -> aux (h :: t) (i + 1) b acc
462
| _, [] -> assert false
463
in
464
- aux index_list 0 (*List.rev*) list []
+ aux (List.sort compare index_list) 0 list []
465
466
let cut diff (ast : Ast.parsing_compil) =
467
let rules = extract diff.diff_rules.new_elt ast.Ast.rules in
0 commit comments