Skip to content

Mago 0.20.4

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Mar 19:44
· 39 commits to main since this release
54a5f22

Mago 0.20.4

We are releasing 0.20.4 to address a critical lexer bug related to invalid base number prefixes.

Bug Fixes

  • Lexer: Correctly handle invalid base number prefixes:
    • Fixed an issue where invalid base number prefixes (0x, 0b, 0o) without subsequent digits were incorrectly tokenized as integers. These are now correctly tokenized as a literal integer "0" followed by an identifier (e.g., "x", "b", "o"). This prevents downstream panics and incorrect parsing.

Full Changelog: 0.20.3...0.20.4