Closed
Description
If the user accidentally adds the same prop twice (which is easy to overlook in case of a big number of props), they get the unhelpful error message:
A type parameter occurs several times
with no LoC information.
Example:
@react.component
let make = (
~someProp: bool,
// ... more props ...
~someProp: bool,
) => React.null
Metadata
Metadata
Assignees
Labels
No labels