Skip to content

Add support for hex, oct, and binary integer literals

Latest
Compare
Choose a tag to compare
@alexflint alexflint released this 02 Oct 19:59
489daf0

Adds support for int literals described in https://go.dev/ref/spec#Integer_literals. This includes hex literals 0x123, oct literals 0o123, binary literals 0b101, and underscores in any integer literlal 123_456_789