# stage1: Fix for generic fn monomorphization · gitcafe/zig

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

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

Visibility: public

Requested revision: 84549b42678fa1f2755b2ec7bf4f4936d8f513af

Requested commit: 84549b42678fa1f2755b2ec7bf4f4936d8f513af

Commit: 84549b42678fa1f2755b2ec7bf4f4936d8f513af

Tree: 6d1b3222ce827cc7e166f6cc15b6d81d4421b8c8

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Fix for generic fn monomorphization

Don't use the instantiation argument types to build the function
parameter array.

f416535768fc30195cad6cd481f73fd1e80082aa worked around the problem, this
commit solves it.

```

## Parents

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

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