This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Multiple definition of type name props when migriting to JSXv4 #654
Closed
Description
I had my own type props = ...
(unrelated to React props, just using that name). Migrating to JSXv4 caused the following error:
rescript: [30/31] src/SchemaEditor-LumiStoreEditor.cmj
FAILED: src/SchemaEditor-LumiStoreEditor.cmj
We've found a bug for you!
SchemaEditor
Multiple definition of the type name props.
Names must be unique in a given structure or signature.
FAILED: cannot make progress due to previous errors.
The error seems valid (I should rename my own type), but:
- We may have to add this to the migration guide (JSXv4 claims the type name
props
) - The error has no source location, which also makes clicking it in VSCode display an error
Metadata
Metadata
Assignees
Labels
No labels