Closed jugglerchris closed 5 years ago
Oh, it might only work with local statements, not with assignment. I'll look into this, thank you!
I think I just somehow forgot to do this when implementing the compiler, should be fixed now by 8549771
Great, thanks! That was quick.
I've noticed that assignments with functions with multiple return values doesn't work. For example:
In lua gives:
In Luster:
I think the problem is in the handling of assigment statements in the compiler, which seems not to have allowed for multiple returns yet (the function is called with 1 expected return value).