# add compile error for control flow using comptime var at runtime · gitcafe/zig

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

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

Visibility: public

Requested revision: 3b40aaa01fb15799cf27d662229597ac98e2ab77

Requested commit: 3b40aaa01fb15799cf27d662229597ac98e2ab77

Commit: 3b40aaa01fb15799cf27d662229597ac98e2ab77

Tree: db9403afed5078fe795b07ce3d522b3f2a9d4343

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for control flow using comptime var at runtime

closes #266

```

## Parents

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

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