# stage2: fix global variables with inferred type · gitcafe/zig

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

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

Visibility: public

Requested revision: 091a98f524b41cac1fb299cdfdf911ae3b31c6ae

Requested commit: 091a98f524b41cac1fb299cdfdf911ae3b31c6ae

Commit: 091a98f524b41cac1fb299cdfdf911ae3b31c6ae

Tree: 15ee8668a3e29e1ba4a978bebb4fb46583b3ac08

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix global variables with inferred type

Also, when a global variable does have a type, perform coercion on it.

```

## Parents

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

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