# src/codegen.cpp: add/throw error for @handle\(\) in a non async context; · gitcafe/zig

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

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

Visibility: public

Requested revision: 81f463626ad09dd09e525cda140fb63baf11bc73

Requested commit: 81f463626ad09dd09e525cda140fb63baf11bc73

Commit: 81f463626ad09dd09e525cda140fb63baf11bc73

Tree: 9f89ef5f7a6b5e832ce283d2b79e4b0ca19867d5

Author: kristopher tate

Committer: kristopher tate

## Message

```
src/codegen.cpp: add/throw error for @handle() in a non async context;

Tracking Issue #1296 ;

I removed/commented-out the assert checking for no errors since we now have some errors rendered.

```

## Parents

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

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