-
Notifications
You must be signed in to change notification settings - Fork 83
Description
When you're calling a function, and one of the arguments is a function that contains a variable in it. From my understanding you get an error that it doesn't exist.
I tried heavily debugging it, and even though the local variable DOES exist, it still passes this error?
This is example code I wrote to produce the issue.
This also gives an error
I also used a stack trace to see where it's coming from and it seems to be coming from PolymodScriptClass (stack trace is top -> bottom)
Anyone know why this could be happening?
I happen to be using an hscript fork that provides the same commits from FunkinCrew/hscript, but that just adds some additional functionaility such as string interpolation & typedefs, etc. the fork didn't seem to be the issue, and when I tried using the hscript from FunkinCrew it still re-produced the issue. Not sure what's happening here though.