Error codes

E0210: integer literal out of range

In a terminal: auk explain E0210 prints this page.

On this page

The literal doesn't fit in an int (64-bit, from -9223372036854775808 to 9223372036854775807). Auk never wraps a literal silently.

Wrong#

auk
let LIMIT = 9223372036854775808

Fixed#

auk
let LIMIT = 9223372036854775807

Common causes#

  • An off-by-one on the maximum int.
  • A value that needs a float: write 9.3e18.
  • A big ID that should be a str.

Stuck on a word? Try the glossary. Got a compiler error? Look up its code. Improve this page