aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-02-28 00:51:22 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2018-02-28 00:56:00 +0100
commit90598b4631e3b68565c7d62102a9e4615514a721 (patch)
tree01a2416c8fe22ee34b07e8e2feb3a32af799ed9a /src/codegen.cpp
parent439621e44a68b436f958a84fcdb0bdac83613aea (diff)
downloadzig-90598b4631e3b68565c7d62102a9e4615514a721.tar.gz
zig-90598b4631e3b68565c7d62102a9e4615514a721.zip
fix assert on self-referencing function ptr field
The construct `struct S { f: fn(S) void }` is not legal because structs are not copyable but it should not result in an ICE. Fixes #795.
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions