diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-08-25 11:52:58 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-08-25 16:29:23 +0300 |
| commit | 4405188cf728755d41439e2606b2cba55af96ad9 (patch) | |
| tree | 1d01a36137bf6df9b946146abea335905d3ae585 /src/Compilation.zig | |
| parent | 3a7ea0b65e4edb3e13218023eb667792ab2d0d51 (diff) | |
| download | zig-4405188cf728755d41439e2606b2cba55af96ad9.tar.gz zig-4405188cf728755d41439e2606b2cba55af96ad9.zip | |
Sema: ignore comptime params in partial func type check
This fixes a bug exposed by cd1833044ab7505bc101c85f59889bd3ea3fac80
where a function type would be converted to generic_poison even after
being instantiated due to containing comptime only types.
This could also be fixed by just checking `is_generic_instantiation`
but this way also provides better type names.
Closes #12625
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
