We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could we support this?
let foo = proc() {.cps:C.} = echo "foo" foo()
And if possible, even this?
proc foo() {.cps:C.} = proc bar() {.cps:C.} = echo "bar" bar() foo()
and this
proc foo() {.cps:C.} = let bar = proc() {.cps:C.} = echo "bar" bar() foo()
The text was updated successfully, but these errors were encountered:
I don't see how we can support this as long as the compiler rejects the following:
let foo = type C = ref object of Continuation proc(): C = echo "foo"
And unfortunately, unless we add an untyped pass, this means we cannot support the last example.
untyped
But the 2nd example, sure, we should be able to support that.
Sorry, something went wrong.
No branches or pull requests
Could we support this?
And if possible, even this?
and this
The text was updated successfully, but these errors were encountered: