Skip to content

Compilation error invalid pragma: stackTrace: off #552

@MrQubo

Description

@MrQubo
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions