diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-03-06 17:31:43 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-03-07 07:30:30 -0800 |
| commit | c9fac41368c872d424681ea3cf93a9d97157143e (patch) | |
| tree | 887f6058136580aad6110a329d82038ba71ad663 /src/Module.zig | |
| parent | c7e4c711fc5795e66f974316611922a0b962eb99 (diff) | |
| download | zig-c9fac41368c872d424681ea3cf93a9d97157143e.tar.gz zig-c9fac41368c872d424681ea3cf93a9d97157143e.zip | |
stage2: resolve array type for typed array init expressions
Array types with sentinels were not being typed correctly in the
translation from ZIR to Sema (comptime). This modifies the `array_init`
ZIR to also retain the type of the init expression (note: untyped array
initialization is done via the `array_init_anon` ZIR and so is unchanged
in this commit).
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
