Skip to content

Conversation

@melsman
Copy link
Owner

@melsman melsman commented Jan 11, 2026

Resolves issue #172 .

Copilot AI review requested due to automatic review settings January 11, 2026 13:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue where the -jslibs command-line option was not working correctly with MLB files. The fix involves generalizing a function that identifies source file extensions to include "mlb" files in addition to "sml" and "sig" files.

Changes:

  • Renamed has_sml_source_ext to is_source_ext to reflect its broader scope
  • Added "mlb" as a recognized source extension alongside "sml" and "sig"
  • Updated all function references and added documentation

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/Common/FLAGS.sig Updated function signature from has_sml_source_ext to is_source_ext and added documentation
src/Common/Flags.sml Renamed function and added "mlb" case; updated reference in option parsing logic
src/Manager/Manager.sml Updated function call to use new is_source_ext name
NEWS_SMLTOJS.md Added release note documenting the fix for issue #172

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@melsman melsman merged commit aad4762 into master Jan 11, 2026
10 checks passed
mikkelwillen pushed a commit to mikkelwillen/mlkit that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants