-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Nested object get and set not working in res files #489
Comments
I got a repro in #533, seems the problem is somewhere in rescript conversion, instead of generating:
it generates:
|
jchavarri
added a commit
that referenced
this issue
Apr 11, 2023
jchavarri
added a commit
that referenced
this issue
Apr 11, 2023
* main: update dune to latest (#540)
jchavarri
added a commit
that referenced
this issue
May 4, 2023
* main: feat(melange): add `--preamble` for e.g. "use client" (#545) fix(ci): never re-run the `anonymous` function test: interaction between `[@@@bs.config {flags = ...}]` and `--as-ppx` melange: delete dead code across the ext library (#552) melc: delete Ext_json and related modules, use dune-build-info for (#551) melc: remove old namespace system, legacy mode (#550) chore: changelog entry for #548 feat(melange): installable and usable in more OCaml versions (#548) fix(melange): improve error message for file-level flags handler (#549) melange: allow vendoring without having node.js installed (#547) [lite-version] Separate into melange.ppx and melange.ppx-lib (#534) chore: remove mel (#546) chore: update flakes (#543) Add test for doc comment attached to `%%private` (#542)
jchavarri
added a commit
that referenced
this issue
May 5, 2023
* main: [@new @varidic]: use `Function.prototype.bind` instead of `new C(...args)` (#558) Fix a warning when compiling the C stubs with OCaml 5 (#5887) Fix typo in error message (#5823) Fix typo Modify jscomp/runtime/js.ml too Add placeholder types for ES6 collections fix Js_math deprecation message Turn on optimizations for unicode strings. Add new function to Option: orElse (#5400)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nested object set syntax is currently rejected with an
assert false
triggered atmelange/jscomp/frontend/ast_exp_apply.ml
Line 252 in f4ddebb
Input:
Error:
Additionally, there's a related bug in nested gets.
Produces an incorrect compiled output:
The text was updated successfully, but these errors were encountered: