Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Jan 27, 2022
1 parent a1ee29c commit 91c3708
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mo_def/compUnit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ let comp_unit_of_prog as_lib (prog : prog) : comp_unit =
| {it = LetD ({it = ObjP []; _}, _); _} :: ds' ->
go imports ds'
| ({it = LetD (({it = ObjP (f :: fs); _} as letd), ({it = ImportE (url, ri); _} as es)); _} as imp) :: ds' ->
(*let e = { it = DotE (es, f.label); at = es.at; note = e.note.note_typ } in*)
let m, tfs = Type.as_obj es.note.note_typ in
assert (m = Type.Module);
let field_id = f.it.id in
Expand Down Expand Up @@ -94,7 +93,6 @@ let obj_decs obj_sort at note id_opt fields =
(* To enable uniform definedness checking, typechecking and interpretation,
present the unit as a list of declarations.
*)

let decs_of_lib (cu : comp_unit) =
let open Source in
let { imports; body = cub; _ } = cu.it in
Expand Down

0 comments on commit 91c3708

Please sign in to comment.