rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Compiler bug in applying an uncurried function when the function has a signature

Open jfrolich opened this issue 3 months ago • 4 comments

This causes a compile error that the interface doesn't match the signature even though the types are exactly the same in the error. Without the signature it compiles just fine.

Some pointers:

So it seems to be a bug in using externals in uncurried mode because the issue is not present when the map function is not an external

jfrolich avatar Apr 26 '24 07:04 jfrolich