You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For version v12.0.0-alpha.14 (commit e63147f), using component prop punning with mismatched types results in I/O error: _none_: No such file or directory:
In v12.0.0-alpha.11 and below, full location information is included in the error:
FAILED: File.cmj
We've found a bug for you!
/home/mediremi/test/File.res:11:15-22
9 │ @react.component
10 │ let make = (~someProp: array<int>) => {
11 │ <Level2 someProp />
12 │ }
13 │ }
This has type: array<int>
But it's expected to have type: float
The text was updated successfully, but these errors were encountered:
FAILED: File.cmj
We've found a bug for you!
/home/mediremi/test/File.res:11:24-31
9 │ @react.component
10 │ let make = (~someProp: array<int>) => {
11 │ <Level2 someProp=someProp />
12 │ }
13 │ }
This has type: array<int>
But it's expected to have type: float
For version
v12.0.0-alpha.14
(commit e63147f), using component prop punning with mismatched types results inI/O error: _none_: No such file or directory
:In
v12.0.0-alpha.12
&v12.0.0-alpha.13
, a type error is shown but without any line numbers:(Playground link for v12.0.0-alpha.13)
In
v12.0.0-alpha.11
and below, full location information is included in the error:The text was updated successfully, but these errors were encountered: