# add compile error for using outer scoped runtime variables · gitcafe/zig

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

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

Visibility: public

Requested revision: 1d8b8ad687facd25a27b3ff6d083812b45cd529f

Requested commit: 1d8b8ad687facd25a27b3ff6d083812b45cd529f

Commit: 1d8b8ad687facd25a27b3ff6d083812b45cd529f

Tree: 8f21e06cbbd22156a8d36f214aa4e52bff8f175c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for using outer scoped runtime variables

from a fn defined inside it. closes #876

```

## Parents

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

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