diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-09 21:10:59 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-09 21:38:34 -0500 |
| commit | caf672c49586f1af5e3d41ae200aded991b8b0f7 (patch) | |
| tree | 76b8e9dd955342c6a7ccda3ca62eade39edb4c5f /src/ir_print.cpp | |
| parent | 31be1ddf09fafae270d9946a3f09aa25816dd153 (diff) | |
| download | zig-caf672c49586f1af5e3d41ae200aded991b8b0f7.tar.gz zig-caf672c49586f1af5e3d41ae200aded991b8b0f7.zip | |
`@truncate`: comptime 0 when target type is 0 bits
also if the dest type is a comptime_int, then treat it
as an implicit cast.
also compile error for attempting to truncate undefined
closes #1568
Diffstat (limited to 'src/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions
