Skip to content

Commit 713b3b9

Browse files
committed
understandable comment
1 parent e8789fc commit 713b3b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/frontend/bs_builtin_ppx.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ let local_module_name =
424424
incr v;
425425
"local_" ^ string_of_int !v
426426

427-
(* Unpack requires core_type package for type inference;
428-
use module type bindings and a function to create safe local names instead. *)
427+
(* Unpack requires core_type package for type inference:
428+
Generate a module type name eg. __Belt_List__*)
429429
let local_module_type_name txt =
430430
"_"
431431
^ (Longident.flatten txt |> List.fold_left (fun ll l -> ll ^ "_" ^ l) "")

0 commit comments

Comments
 (0)