Skip to content

Commit

Permalink
extended type update
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogels committed Nov 20, 2024
1 parent 3d876a8 commit bfa14d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nanosail/NanosailToMicrosail/Types/ExtendedType.ml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,13 @@ let rec pp_extended_parameter_type (extended_type : Ast.ExtendedType.Parameter.t
let* annotation_index =
let annotation_document =
PP.vertical @@ List.map ~f:PP.string [
ud.sail_type;
Printf.sprintf "OCaml position: %s" @@ StringOf.OCaml.position ud.ocaml_location;
Printf.sprintf "Sail position: %s" @@ StringOf.Sail.location ud.sail_location;
]
in
GC.add_annotation annotation_document
in
GC.return @@ PP.string @@ Printf.sprintf "?[%d]" annotation_index
GC.return @@ PP.string @@ Printf.sprintf "?[%d:%s]" annotation_index ud.sail_type
end


Expand Down

0 comments on commit bfa14d1

Please sign in to comment.