aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-03-22 23:07:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-23 13:44:31 -0700
commit1c223819098e5621e2e5ad526879cd33852144e1 (patch)
tree1e472eb0497e45fcc3c888815cf26a0ec71f33d3 /src/Module.zig
parentb872539a13ac46abe57a59bafdf5392812468482 (diff)
downloadzig-1c223819098e5621e2e5ad526879cd33852144e1.tar.gz
zig-1c223819098e5621e2e5ad526879cd33852144e1.zip
stage2: Properly "flatten" elem_ptrs before deref
Sema.pointerDeref() assumes that elem_ptrs have been "flattened" when they were created, so that you an elem_ptr will never be the array_ptr of another elem_ptr when they share the same type. Value.elemPtr does this already, but a couple of places in Sema were bypassing this logic.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions