-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
Async procs. Can't use 'await' in templates #3885
Comments
You might be able to use |
|
Have you tried using an |
Sorry, I don't know what was the reason of the |
I don't think so. Dirty shouldn't be necessary. |
@dom96 - this code snippet wouldn't work without a dirty template because line variable is defined in a template |
Hi.
When I use
await
keyword in templates, I'm getting the following error:asyncdispatch.nim(1324, 22) Error: expression 'future' has no type (or is ambiguous)
Code snippet to reproduce:
Nim version: 0.13.0
The text was updated successfully, but these errors were encountered: