diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-04-24 22:31:53 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-04-24 22:31:53 -0400 |
| commit | fb2acaff067dd6b385de7f2bd2726bdfebbf841f (patch) | |
| tree | 1dce5178adc5066eba68510d36baed06575aad0a /src/bigint.cpp | |
| parent | 733c547a65b005338c89e3b6a6cb6e817bee632b (diff) | |
| download | zig-fb2acaff067dd6b385de7f2bd2726bdfebbf841f.tar.gz zig-fb2acaff067dd6b385de7f2bd2726bdfebbf841f.zip | |
`@sizeOf` returns 0 for comptime types
This defines `@sizeOf` to be the runtime size of a type, which means
that it is zero for types such as comptime_int, type, and (enum
literal).
See #2209
Diffstat (limited to 'src/bigint.cpp')
0 files changed, 0 insertions, 0 deletions
