inkle / ink

inkle's open source scripting language for writing interactive narrative.
http://www.inklestudios.com/ink
MIT License
4.14k stars 494 forks source link

BUG: Ink compiler crash on defining a Const divert target #849

Open joningold opened 1 year ago

joningold commented 1 year ago

CONST a = -> abc

-> DONE

=== function abc(x) 
    {x} 

Changing the first line to VAR makes the code compiler fine. (Note: I thought this worked, but even if it doesn't it shouldn't crash the compiler.)