We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This doesn't work: link
Storing the fn in a variable and then returning it works. Link
The text was updated successfully, but these errors were encountered:
Seems to only happen in uncurried mode. cc @cristianoc
Sorry, something went wrong.
It seems like wrapping the @this {fn definition} inside of {} is causing issues. We were able to fix it by changing from {} to ()
@this {fn definition}
{}
()
Came here to report an issue with @this as well.
@this
Playground
type t @send external on: ( t, @string [ | #a(t => unit) | #b(@this (t => unit)) // ← spot () ], ) => t = "on" // format // ↓ ↓ ↓ type t @send external on: ( t, @string [ | #a(t => unit) | #b(@this t => unit) // ← () dropped ], ) => t = "on"
@uncurry
shulhi
Successfully merging a pull request may close this issue.
This doesn't work: link
Storing the fn in a variable and then returning it works. Link
The text was updated successfully, but these errors were encountered: