Actions
Bug #5549
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Function caching is not applied to tail calls
Start date:
2022-05-30
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
If a function f contains a tail-call to a function g, and g is defined with cache="yes", then the cache is ignored and g is executed normally.
See TailCallLoop.tailCallDifferentFunction()
(Test case function-1035. I modified the test to make the call not be a tail call; undo this change to demonstrate the problem)
Updated by Michael Kay 3 months ago
- Status changed from New to Closed
It seems that this bug was fixed as a consequence of the changes to introduce elaborated evaluation. The test case is now working.
Please register to edit this issue
Actions