reasonml / reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
http://reasonml.github.io
MIT License
10.14k stars 428 forks source link

outcome printer: `test/class.t` tests show failure #2756

Open anmonteiro opened 3 months ago

anmonteiro commented 3 months ago

there's a bug in outcome printing of class types, e.g.

class labeledClass2(~x: ((~y:int) => int)) {
};
$ echo "class labeledClass2(~x: ((~y:int) => int)) {
};
" | dune exec test/lib/outcometreePrinter.exe
class labeledClass2 : (~x: int, int) => {  };