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

Not compatible with rescript-react version 0.11 #33

Open
FilipKittnar opened this issue Feb 7, 2023 · 1 comment
Open

Not compatible with rescript-react version 0.11 #33

FilipKittnar opened this issue Feb 7, 2023 · 1 comment

Comments

@FilipKittnar
Copy link

Compilation throws this error:

FAILED: src/Dnd__DndManager.cmj

  We've found a bug for you!
  /home/development/app/node_modules/rescript-dnd/src/Dnd__DndManager.res:1586:13-1602:7

  1584 ┆ 
  1585 ┆ <Context.Provider
  1586 ┆   value={
  1587 ┆     status: state.status,
     . ┆ ...
  1601 ┆     startDragging: collectEntries,
  1602 ┆   }>
  1603 ┆   children
  1604 ┆ </Context.Provider>

  The record field value can't be found.
  
  If it's defined in another module or file, bring it into scope by:
  - Prefixing it with said module name: TheModule.value
  - Or specifying its type: let theValue: TheModule.theType = {value: VALUE}

For more info: https://rescript-lang.org/docs/react/latest/migrate-react

@alex35mil
Copy link
Member

Thanks for the report! I will look into this in the upcoming weeks.

@DZakh DZakh mentioned this issue Aug 29, 2023
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

2 participants