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

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

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

Visibility: public

Requested revision: db890dbae72bc31e50d4ec641f2afce683df772d

Requested commit: db890dbae72bc31e50d4ec641f2afce683df772d

Commit: db890dbae72bc31e50d4ec641f2afce683df772d

Tree: b1b3f0b3f9f921cfd1ac365446becb235151a970

Author: mlugg

Committer: Matthew Lugg

## 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

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

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