# improve support for anyframe and anyframe\-\>T · gitcafe/zig

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

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

Visibility: public

Requested revision: dbdc4d62d08c94a967b36afdfa57b126775a4eee

Requested commit: dbdc4d62d08c94a967b36afdfa57b126775a4eee

Commit: dbdc4d62d08c94a967b36afdfa57b126775a4eee

Tree: b6ffd56af7b37257c7dd165001ca88cb80990fc4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
improve support for anyframe and anyframe->T

 * add implicit cast from `*@Frame(func)` to `anyframe->T` or `anyframe`.
 * add implicit cast from `anyframe->T` to `anyframe`.
 * `resume` works on `anyframe->T` and `anyframe` types.

```

## Parents

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

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