# Sema: redo monomorphed funcs to make more sense · gitcafe/zig

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

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

Visibility: public

Requested revision: 3d48c406c18d6bcc579130d7cac91d47cc119dd8

Requested commit: 3d48c406c18d6bcc579130d7cac91d47cc119dd8

Commit: 3d48c406c18d6bcc579130d7cac91d47cc119dd8

Tree: d89b8a339c355062fa2b7a86ca397131474161de

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
Sema: redo monomorphed funcs to make more sense

By correctly handling comptime-only types appearing in non-comptime
parameters (when the parameter is either anytype or generic), this
avoids an index out of bounds later when later filling out
`monomorphed_args` using what used to be slightly different logic.

```

## Parents

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

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