# InternPool: eliminate \`var_args_param_type\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 33809a0c538b77770ef4f80e8208117d6bcb494e

Requested commit: 33809a0c538b77770ef4f80e8208117d6bcb494e

Commit: 33809a0c538b77770ef4f80e8208117d6bcb494e

Tree: 73cd9f783fbb3e4fe91af5e1df1d62b85e1a41bc

Author: mlugg

Committer: Andrew Kelley

## Message

```
InternPool: eliminate `var_args_param_type`

This was a "fake" type used to handle C varargs parameters, much like
generic poison. In fact, it is treated identically to generic poison in
all cases other than one (the final coercion of a call argument), which
is trivially special-cased. Thus, it makes sense to remove this special
tag and instead use `generic_poison_type` in its place. This fixes
several bugs in Sema related to missing handling of this tag.

Resolves: #19781

```

## Parents

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

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