Skip to content

Error evaluating recursive modules #6555

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

Closed
reck753 opened this issue Jan 10, 2024 · 2 comments
Closed

Error evaluating recursive modules #6555

reck753 opened this issue Jan 10, 2024 · 2 comments

Comments

@reck753
Copy link

reck753 commented Jan 10, 2024

Hello 👋,

Appreciate the great effort on v11.

During the upgrade of my codebase from 10.1.4 to 11.0.0-rc.9, I've run into an issue with all recursive React components:

Cannot safely evaluate the definition of the recursively-defined module X

Here is a playground reproduction.

Versions:

  • rescript: "11.0.0-rc.9"
  • @rescript/core: "0.6.0"
  • @rescript/react: "0.12.0-alpha.2"
@katis
Copy link

katis commented Jan 14, 2024

I was also playing around with using recursive functors for app architecture and encountered this issue: Playground

Versions:

  • @rescript/core: 0.6.0
  • rescript: 11.0.0

@cristianoc
Copy link
Collaborator

fixed in #6575

zth pushed a commit that referenced this issue Jan 17, 2024
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