This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
closures can't be assigned to local variables #152
Labels
bug
Something isn't working
Comments
sternenseemann
added a commit
to sternenseemann/zz
that referenced
this issue
Jan 25, 2021
This should improve documentation somewhat as the examples actually work after being copy pasted. Note that the example for closures isn't fixed in this commit as I couldn't figure out how to fix it yet. See zetzit#152.
ah yes, closures can't be assigned to local variables. i dont know why, this looks like a bug. |
aep
changed the title
closures don't work as documented
closures can't be assigned to local variables
Jan 26, 2021
oh i remember why. fixing this is hard because closures are emitted as structures for capture context. |
sternenseemann
added a commit
to sternenseemann/zz
that referenced
this issue
Mar 7, 2021
This should improve documentation somewhat as the examples actually work after being copy pasted. Note that the example for closures isn't fixed in this commit as I couldn't figure out how to fix it yet. See zetzit#152.
C should handle = for structs AFAIK...
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Taken from the README with fixed syntax:
Compiling fails:
The text was updated successfully, but these errors were encountered: