# ir: Make all the payload captures do a copy · gitcafe/zig

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

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

Visibility: public

Requested revision: 3038290a469fdac84e4a2a22e0e0926cd8c8448f

Requested commit: 3038290a469fdac84e4a2a22e0e0926cd8c8448f

Commit: 3038290a469fdac84e4a2a22e0e0926cd8c8448f

Tree: e5f57e59e08ff8f009eb00d90c8e3ac67d255dc4

Author: LemonBoy

Committer: LemonBoy

## Message

```
ir: Make all the payload captures do a copy

The payload doesn't alias anymore the same memory it comes from and is
instead a fresh copy of the original object.

```

## Parents

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

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