BigBadE / Raven-Language

An experimental language
MIT License
4 stars 15 forks source link

[BUG] Adding character to int causes compiler infinite loop #63

Closed Pillber closed 8 months ago

Pillber commented 8 months ago

Describe the bug The title. When a character is the second operand of an addition (or subtraction), the compiler infinite loops somewhere.

Raven Code To Reproduce Anywhere in a raven file:

let test = 1 + '0';

Error Output or Unexpected Behavior Compiler infinite loop.

Additional context

BigBadE commented 8 months ago

Fixed