Skip to content

ReScript v12 - lambda breaks code casted by Obj.magic #7401

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

Open
DZakh opened this issue Apr 21, 2025 · 3 comments
Open

ReScript v12 - lambda breaks code casted by Obj.magic #7401

DZakh opened this issue Apr 21, 2025 · 3 comments
Milestone

Comments

@DZakh
Copy link
Member Author

DZakh commented Apr 21, 2025

Reproduction:

  1. Clone Sury repo
  2. Checkout to branch https://github.com/DZakh/sury/tree/dz/sury-v10-rescript-v12
  3. Install dependencies pnpm i
  4. Run compiler pnpm res & tests pnpm test:res
  5. See in S_option_test.res.mjs broken schema creation

@cristianoc
Copy link
Collaborator

Seems a duplicate of an existing issue that was closed as unclear how to fix. Can't find it right now: @cknitt ?

@cknitt
Copy link
Member

cknitt commented May 3, 2025

#7023

@cknitt cknitt added this to the v12 milestone May 5, 2025
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

No branches or pull requests

3 participants