Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
krtab authored and zapashcanon committed Jul 3, 2024
1 parent 21cae46 commit 59e2e00
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ast/types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -727,9 +727,12 @@ let import_desc fmt : 'a import_desc -> Unit.t = function
pp fmt "(global%a %a)" pp_id_opt id pp_global_type t

type 'a import =
{ modul : string
; name : string
{ modul : string (** The name of the module from which the import is done *)
; name : string (** The name of the importee in its module of origin *)
; desc : 'a import_desc
(** If this import_desc first field is Some s, the importee is made
available under name s, else it can only be used via its numerical
index.*)
}

let pp_import fmt i =
Expand Down

0 comments on commit 59e2e00

Please sign in to comment.