Yawar, I justr tried your recommended warnings and errors. I got dozens of messages like this:
Warning 42: this use of quantityAccessor relies on type-directed disambiguation, it will not compile with OCaml 4.00 or earlier.
where the code is
let totalPriceAccessor = (inputs: quantityInputType) => inputs.quantityAccessor(inputs) *. inputs.unitPriceAccessor(inputs);
I'm totally lost about what is wrong in this one
Hi! As suggested in Discord I think it's safe to turn it off. Adjust warnings to taste :-) See also discuss.ocaml.org/t/can-warning-42...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yawar, I justr tried your recommended warnings and errors. I got dozens of messages like this:
where the code is
I'm totally lost about what is wrong in this one
Hi! As suggested in Discord I think it's safe to turn it off. Adjust warnings to taste :-) See also discuss.ocaml.org/t/can-warning-42...