Skip to content

Commit 0b7eb23

Browse files
committed
[ail_to_coq] fix the order of annotations.
1 parent ad87ecf commit 0b7eb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/ail_to_coq/ail_to_coq.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ let collect_rc_attrs : Annot.attributes -> rc_attr list =
6363
{rc_attr_id; rc_attr_args} :: acc
6464
| _ -> acc
6565
in
66-
fun (Annot.Attrs(attrs)) -> List.rev (List.fold_left fn [] attrs)
66+
fun (Annot.Attrs(attrs)) -> List.fold_left fn [] attrs
6767

6868
let rec translate_int_type : loc -> i_type -> Coq_ast.int_type = fun loc i ->
6969
let open Ctype in

0 commit comments

Comments
 (0)