aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-09 21:10:59 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-09 21:38:34 -0500
commitcaf672c49586f1af5e3d41ae200aded991b8b0f7 (patch)
tree76b8e9dd955342c6a7ccda3ca62eade39edb4c5f /src/ir_print.cpp
parent31be1ddf09fafae270d9946a3f09aa25816dd153 (diff)
downloadzig-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