# change async function call syntax · gitcafe/zig

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

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

Visibility: public

Requested revision: f885a1ab61a664378c3f3062a3de1150b6a4ee07

Requested commit: f885a1ab61a664378c3f3062a3de1150b6a4ee07

Commit: f885a1ab61a664378c3f3062a3de1150b6a4ee07

Tree: 87e29d3ebcd6d7d7b859cc9ef9c33b83c8a3433c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
change async function call syntax

 * instead of `async(allocator) call()`, now it is
   `async<allocator> call()`.
 * Fixes syntax ambiguity when leaving off the allocator
 * Fixes parse failure when call is a field access

This sets a precedent for using `<` to pass arguments
to a keyword. This will affect `enum`, `union`, and
`fn` (see #661)

```

## Parents

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

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