Skip to content

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
@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))
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
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.

2 participants