# better coroutine codegen, now passing first coro test · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/58dc2b719c8e5a13c91ebbbbf476998c7f3e925b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 58dc2b719c8e5a13c91ebbbbf476998c7f3e925b

Requested commit: 58dc2b719c8e5a13c91ebbbbf476998c7f3e925b

Commit: 58dc2b719c8e5a13c91ebbbbf476998c7f3e925b

Tree: 34ae2eb4d0624b69045ae79f23716357d0b2393b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
better coroutine codegen, now passing first coro test

we have to use the Suspend block with llvm.coro.end to
return from the coro

```

## Parents

- [ad2a29ccf25af189fc180cba6843c20b9dd029d1](https://git.cafe/gitcafe/zig/commit/ad2a29ccf25af189fc180cba6843c20b9dd029d1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/58dc2b719c8e5a13c91ebbbbf476998c7f3e925b?format=markdown)
