Skip to content
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

Compilation error invalid pragma: stackTrace: off #552

Open
MrQubo opened this issue Jul 7, 2024 · 1 comment
Open

Compilation error invalid pragma: stackTrace: off #552

MrQubo opened this issue Jul 7, 2024 · 1 comment

Comments

@MrQubo
Copy link

MrQubo commented Jul 7, 2024

import chronos

proc callProc[T](f: proc (): T): T =
  f()

proc foo() {.async.} =
  callProc do {.async.}:
    discard

Compiled with nim c -d:asyncBackend=chronos

nim: 2.0.8
chronos: 4.0.2

The same code works with asyncdispatch.

@MrQubo
Copy link
Author

MrQubo commented Jul 7, 2024

Maybe related?
#367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant