Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some comments #342

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.*)
zapashcanon marked this conversation as resolved.
Show resolved Hide resolved
}

let pp_import fmt i =
Expand Down
Loading