aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-10-05 15:06:14 +0300
committerVeikka Tuominen <git@vexu.eu>2022-10-06 20:09:45 +0300
commit94039d66ed4fecb7defc5deeeedd7afa3b773f0c (patch)
tree59e0c2a2033972bdf2ba22a76db7b1236a82dcc5 /src/stage1/codegen.cpp
parentcc89908e826882065eeaa23bb8827fb7d7cd6219 (diff)
downloadzig-94039d66ed4fecb7defc5deeeedd7afa3b773f0c.tar.gz
zig-94039d66ed4fecb7defc5deeeedd7afa3b773f0c.zip
Sema: disallow fieldParentPtr and offsetOf on comptime fields
Comptime fields are tied to the type and behave more like declarations so these operations cannot return anything useful for them.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions