Closed
Description
After a short debate on the IRC over whether true as i32
is guaranteed to be 1
, and false as i32
is guaranteed to be 0
, I think that the semantics section on casts should explicitly describe what a bool as integer_type
cast does.