# Sema: add error for capturing a runtime value outside of function scope · gitcafe/zig

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

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

Visibility: public

Requested revision: 3ccd4907fbcd04ecddffb618a4b14581fd080279

Requested commit: 3ccd4907fbcd04ecddffb618a4b14581fd080279

Commit: 3ccd4907fbcd04ecddffb618a4b14581fd080279

Tree: 7db5554b1f8b2dcb5cef2fd4277d496d35ca385b

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
Sema: add error for capturing a runtime value outside of function scope

Closes #13104

```

## Parents

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

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