This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Closures created from functions can't be called immediately #13051
Labels
Bug
This tag is applied to issues which reports bugs.
Feature Request
This issue is made to request a feature.
V version: V 0.2.4 4d4398f.c97f0c5
OS: linux, "Arch Linux"
What did you do?
Try to call closure from function immediately.
What did you expect to see?
No error with following code:
What did you see instead?
Workaround for now is to bind closure:
The text was updated successfully, but these errors were encountered: