Non-constant assertions always fail #128
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
assert(true)
andassert(false)
work as expected (the last one generates a segmentation fault). But an assert with non-constant condition, whetherassert(1 = 1)
orassert(1 = 0)
, always fails with invalid machine instruction. Also shouldn'tassert(false)
generate something similar?