Closed
Description
Context: trying out JSX v4
rescript: [59/64] src/SpotDetails-Stallingsnet.cmj
FAILED: src/SpotDetails-Stallingsnet.cmj
We've found a bug for you!
SpotDetails
This has type:
props<option<Stallingsnet.Prelude.occupationDetailsSnapshot>> => React.element
Somewhere wanted:
React.component<
({..
"maybeSnapshot": option<Stallingsnet.Prelude.occupationDetailsSnapshot>,
} as 'a),
>
(defined as 'a => Jsx.element)
The incompatible parts:
props<option<Stallingsnet.Prelude.occupationDetailsSnapshot>> vs 'a
rescript: [60/64] src/Statistics-Stallingsnet.cmj
FAILED: cannot make progress due to previous errors.
The SpotDetails
below We've found a bug for you!
should be /absolute/path/to/Source.res:line:char-char
instead of a module name.
The VSCode extension tries to open a nonexistent directory when you click the Problem:
This does not happen with all errors; some report a correct location.
Metadata
Metadata
Assignees
Labels
No labels