Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lorchrob committed May 13, 2024
1 parent 4a30c61 commit 98a515e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lustre/typeCheckerContext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ let extract_ret_ctx: LA.clocked_typed_decl -> tc_context
singleton_ty i ty
(** Extracts the output stream as a typing context *)

(*!! Mark as locals *)
let extract_loc_ctx: LA.node_local_decl -> tc_context
= fun local ->
let (i, ty, e_opt) = LH.extract_loc_ty local in
match e_opt with
| Some e -> (add_ty (add_const empty_tc_context i e ty Local) i ty)
| None -> singleton_ty i ty
(** Extracts a local decl as a typing constant *)

let extract_consts: LA.const_clocked_typed_decl -> tc_context
= fun (pos, i, ty, _, is_const) ->
Expand Down

0 comments on commit 98a515e

Please sign in to comment.