Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deactivate stack mismatch check on a return from a lambda closure
In a lambda closure a return opcode can occur in the middle of an expression, where evaluated parts of the expression are already put on the stack, resulting in a fatal error indicating that the stack head is higher than the function frame. Although the message is correct it is normal behaviour for lambda closures, therefore this check is now deactivated there. The superfluous values on the stack will be removed later anyway. (Fixes #868)
- Loading branch information
Showing
2 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters