# AstGen: fix function decl astgen · gitcafe/zig

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

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

Visibility: public

Requested revision: 415ef1be510e912ddbd3b73a4d20aac3fda27a0e

Requested commit: 415ef1be510e912ddbd3b73a4d20aac3fda27a0e

Commit: 415ef1be510e912ddbd3b73a4d20aac3fda27a0e

Tree: 0fcc2e2c008e74bd9c2a2e6cc18507a48200fb8d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix function decl astgen

it was using the wrong scope and other mistakes too

```

## Parents

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

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