# AstGen: fix ref instruction injection for functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 6a4df2778e5f35fb112d87b12f94d4e3d06ee1d3

Requested commit: 6a4df2778e5f35fb112d87b12f94d4e3d06ee1d3

Commit: 6a4df2778e5f35fb112d87b12f94d4e3d06ee1d3

Tree: 536361099545cc9f553ec4a29e4c7ade51375363

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix ref instruction injection for functions

For the expressions regarding return type, alignment,
parameter type, etc.

```

## Parents

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

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