# AstGen: while loop continue expr captures in scope · gitcafe/zig

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

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

Visibility: public

Requested revision: a04a98ff3e800136f624d97e315304f515376035

Requested commit: a04a98ff3e800136f624d97e315304f515376035

Commit: a04a98ff3e800136f624d97e315304f515376035

Tree: fb678f7faf662f02c5d6272706837f44b74833ba

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: while loop continue expr captures in scope

Before this, the continue expression of a while loop did not have the
capture variable in it, making it incorrectly emit a compile error for
not using the capture, even if it was referenced.

```

## Parents

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

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