Skip to content

Commit

Permalink
Merge branch 'master' into protz_narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz authored Feb 5, 2025
2 parents d4a1754 + c92ffed commit cf0402a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/Bundles.ml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@ let direct_dependencies_with_internal files file_of =
| `Internal -> List.mem Common.Internal flags

method! visit_DFunction env cc flags n_cgs n ret name binders body =
(* KPrint.bprintf "function %a: concern us=%b %b %b \n" *)
(* PrintAst.Ops.plid name *)
(* (self#concerns_us flags) *)
(* (List.mem Common.Internal flags) (List.mem Common.Private flags); *)
if self#concerns_us flags then
if is_inline_static name then
super#visit_DFunction env cc flags n_cgs n ret name binders body
Expand Down
2 changes: 1 addition & 1 deletion lib/Output.ml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ let write_h files public_headers (deps: Bundles.all_deps Bundles.StringMap.t) =
let internal_headers = List.map (fun f -> "internal/" ^ f) internal in
let headers =
if Bundles.StringSet.mem name public_headers then
("../" ^ name) :: internal_headers
("../" ^ name) :: public @ internal_headers
else
public @ internal_headers
in
Expand Down

0 comments on commit cf0402a

Please sign in to comment.