A leading-zero literal reads as decimal #65
Reference in New Issue
Block a user
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?
0755reads as 755, while C reads it as octal 493. With0x/0bnow accepted (#47), C-style spelling looks supported, so a C programmer writing an octal literal gets a different value and no warning.Expected: an error at the literal, pointing to
#o755.0itself, and0.5-style decimals, stay valid.Found while fixing #47.
Fixed by
9505b4f.