0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Fix lvalue dereference type checking

Previously, if a dereference instruction was an lvalue, it would fail to
typecheck that the value being dereferenced was indeed a pointer.
Although a little clunky, this change obviates the need for redundant
type checks scattered about the analysis.
This commit is contained in:
Matthew McAllister 2019-02-12 21:22:16 -08:00
commit 91989e70ba
3 changed files with 45 additions and 29 deletions