Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test sys.argv #791

Merged
merged 3 commits into from
Oct 19, 2023
Merged

test sys.argv #791

merged 3 commits into from
Oct 19, 2023

Conversation

jchavarri
Copy link
Member

It seems Sys.argv is behaving in a strange way, where the first value in the array is the command, and the second is another array with the actual args.

This is different to what Node.Process.argv is doing (which behaves in the expected way).

@anmonteiro anmonteiro merged commit 6f307cd into main Oct 19, 2023
4 checks passed
@anmonteiro anmonteiro deleted the test-sys-argv branch October 19, 2023 20:59
@jchavarri
Copy link
Member Author

thanks!

anmonteiro added a commit to anmonteiro/opam-repository that referenced this pull request Oct 22, 2023
CHANGES:

- Add TRMC (Tail Recursion Modulo Cons) support
  ([melange-re/melange#743](melange-re/melange#743))
- [playground]: Add `melange.dom` to bundle
  ([melange-re/melange#779](melange-re/melange#779))
- Fix `Sys.argv` runtime to match declared type
  ([melange-re/melange#791](melange-re/melange#791))
- Make `'a Js.t` abstract (again), fixing a regression when bringing back
  OCaml-style objects BuckleScript
  ([melange-re/melange#786](melange-re/melange#786))
- Don't issue "unused attribute" warning for well-formed `@@@mel.config` in
  interface files ([melange-re/melange#800](melange-re/melange#800))
- Stop showing `Js__.Js_internal` in types and error messages
  ([melange-re/melange#798](melange-re/melange#798))
- Fix printing of OCaml-style objects and uncurried application
  ([melange-re/melange#807](melange-re/melange#807))
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.

None yet

2 participants