# Allocate capture scopes in gpa instead of Decl.value_arena · gitcafe/zig

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

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

Visibility: public

Requested revision: 9b48fc2833be409902f4d3256d2d921f4f924e0d

Requested commit: 9b48fc2833be409902f4d3256d2d921f4f924e0d

Commit: 9b48fc2833be409902f4d3256d2d921f4f924e0d

Tree: 17281521b79b188aba2605b25894bc066d24e065

Author: mlugg

Committer: Andrew Kelley

## Message

```
Allocate capture scopes in gpa instead of Decl.value_arena

This eliminates the last major use of value_arena, in preparation to
remove it.

```

## Parents

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

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