# Fix generation of comptime slices · gitcafe/zig

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

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

Visibility: public

Requested revision: 49838a9f3eee0df33d2994b92875314363b32dfc

Requested commit: 49838a9f3eee0df33d2994b92875314363b32dfc

Commit: 49838a9f3eee0df33d2994b92875314363b32dfc

Tree: 9d88deed4d89a5b528d8f6500910ca98d322566b

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix generation of comptime slices

By erasing the global_refs field we'd trip any codepath using
const_values_equal_ptr to figure if two slices were different.

```

## Parents

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

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