Project

Profile

Help

Bug #5549

open

Function caching is not applied to tail calls

Added by Michael Kay about 1 month ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
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)

No data to display

Please register to edit this issue

Also available in: Atom PDF