diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-12-02 18:46:59 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-12-02 18:46:59 +0200 |
| commit | 59dad43de26a89ca72a97224a171d724dcc6ee41 (patch) | |
| tree | 63377949939557a1edf03c90be77508051d9354f /src/Module.zig | |
| parent | 86e6acb37b242a60917f5552999d918c24fdf791 (diff) | |
| download | zig-59dad43de26a89ca72a97224a171d724dcc6ee41.tar.gz zig-59dad43de26a89ca72a97224a171d724dcc6ee41.zip | |
Sema: add error for failed assumption about struct having runtime bits
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig index a18297c8ff..68d0ac8af5 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -940,6 +940,7 @@ pub const Struct = struct { requires_comptime: PropertyBoolean = .unknown, have_field_inits: bool = false, is_tuple: bool, + assumed_runtime_bits: bool = false, pub const Fields = std.StringArrayHashMapUnmanaged(Field); @@ -1205,6 +1206,7 @@ pub const Union = struct { fully_resolved, }, requires_comptime: PropertyBoolean = .unknown, + assumed_runtime_bits: bool = false, pub const Field = struct { /// undefined until `status` is `have_field_types` or `have_layout`. |
