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
@anmonteiro do you have any clue what could be going on? These alerts appear constantly while working on reason-react and it's both quite annoying and also scary that the uncurrying is not working properly for the callbacks.
Added a test in #875 to showcase the problem hopefully better.
Consider the following snippet (playground):
It generates the following code, with the
add
callback uncurried and inlined as expected:Now, if we have a slightly different function (playground):
It produces the following code:
I wonder if this is a fundamental limitation, or something that could be fixed? Worst case, we can document this behavior. cc @davesnx
The text was updated successfully, but these errors were encountered: