aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2022-09-25 00:30:15 +0200
committerJohn Schmidt <john.schmidt.h@gmail.com>2022-09-26 08:56:34 +0200
commitb6bda5183e44e88b53d3e51c3599d8889fb1bdb8 (patch)
treea93d14f828db1e4e610eaa7dd1b8d71faf9c42d9 /src/codegen.zig
parent6cc2b2616365c2a216f3dd73837f405df094daab (diff)
downloadzig-b6bda5183e44e88b53d3e51c3599d8889fb1bdb8.tar.gz
zig-b6bda5183e44e88b53d3e51c3599d8889fb1bdb8.zip
sema: load the correct AST in failWithInvalidComptimeFieldStore
The container we want to get the fields from might not be declared in the same file as the block we are analyzing, so we should get the AST from the decl's file instead.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions