navid/haze / 94d8e2a026845bd62732f6eb7c222b5a9c18a60511c534c648cee6fd4b471090 / samples/baseline_2.1/post_error.hz
post_error.hz
← samples/baseline_2.1 · 114 bytes · raw · download
pure fn bad_double(x i32) i32
: post r => r == x * 2 + 1
=> x * 2
fn main() {
print(bad_double(5))
}