# stage2: more InternPool related fixes · gitcafe/zig

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

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

Visibility: public

Requested revision: 8587e510e46f98e321fbad30bb235e5eed33f1ba

Requested commit: 8587e510e46f98e321fbad30bb235e5eed33f1ba

Commit: 8587e510e46f98e321fbad30bb235e5eed33f1ba

Tree: 5eb31158113d74473f3f895ec76eaaab1cc59efd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: more InternPool related fixes

 * make Sema.zirPtrType coerce the sentinel value against the element
   type
 * fix lazyAbiAlignment wrong result type
 * typeHasOnePossibleValue no longer tries to create interned enum tag
   value with integer zero, instead uses enum_field_index
 * Type.ptr avoids trying to store typed null values into the intern
   pool

```

## Parents

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

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