aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2022-09-24 02:23:22 +0200
committerJohn Schmidt <john.schmidt.h@gmail.com>2022-09-25 10:28:48 +0200
commit6cc2b2616365c2a216f3dd73837f405df094daab (patch)
treef15575f12a2a54a34418696a3c57e4e55ba95c10 /src/codegen.zig
parent6d7b0690a0e49819ffd92e330f0fd48a7abc0d16 (diff)
downloadzig-6cc2b2616365c2a216f3dd73837f405df094daab.tar.gz
zig-6cc2b2616365c2a216f3dd73837f405df094daab.zip
sema: load the correct AST in addFieldErrNote
The enum 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. Closes #12950.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions