Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion compiler/core/js_name_of_module_id.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let string_of_module_id_in_browser (x : Lam_module_ident.t) =
match x.kind with
| External {name} -> name
| Runtime | Ml ->
"./stdlib/" ^ Ext_string.uncapitalize_ascii x.id.name ^ ".js"
"./stdlib/" ^ x.id.name ^ ".js"
Copy link
Member

@fhammerschmidt fhammerschmidt Jan 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this can go away for both Ml and Runtime?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is only used in the playground so it should be safe. It was invalid before.


let string_of_module_id
(id : Lam_module_ident.t)
Expand Down
Loading
Loading