You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been a weird one for a while and have made some progress.
This comment is more for my own records while this issue is still being worked on.
This isn't being caused by nesting, but is something to do with the registered type inference, but weirder still only when using the AddFunction call on the dialogue runner.
What is the current behavior?
When nesting functions, the compiler cannot correctly infer the type of the inner function in order to invoke the outer one.
A yarn error is shown in Unity. The error is also shown in the vscode extension
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
Given the following custom functions:
Called as such:
The following error is raised in Unity:
The following error is raised in vscode:
What is the expected behavior?
There should be no errors shown in unity or vscode for this scenario.
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: