inkle/ink-unity-integration

Inky shows a compilation error where the Unity asset doesn't

klootas opened this issue · 1 comments

A beta tester of my game was just hit with what I believe to be a bug in the Unity/Ink integration:
Inky shows a compile-time error for this, but the (latest version of the) Unity asset doesn't (it throws in runtime instead):

LIST myList = Item1, Item2, Item3
{not myList == Item2: // Inky: "Can not call use '==' operation on Int and List", Unity - nothing
Not Item2
}

My mistake - turns out it was a runtime error in Inky too (I got fooled by the automatic execution).
Couldn't this be caught at compile time, though?