diff options
| author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-02-28 00:51:22 +0100 |
|---|---|---|
| committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-02-28 00:56:00 +0100 |
| commit | 90598b4631e3b68565c7d62102a9e4615514a721 (patch) | |
| tree | 01a2416c8fe22ee34b07e8e2feb3a32af799ed9a /src/buffer.cpp | |
| parent | 439621e44a68b436f958a84fcdb0bdac83613aea (diff) | |
| download | zig-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/buffer.cpp')
0 files changed, 0 insertions, 0 deletions
