# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #122425]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=122425 >


There are two tests in S02-names/is_cached.t that require "is cached"
to function, and not re-execute the sub.

rakudo-jvm fails theses tests, doing the side effect once per invocation.

S06 says:

This trait is a suggestion to the compiler that caching is okay. The
compiler is free to choose any kind of caching algorithm (including
non-expiring, random, lru, pseudo-lru, or adaptive algorithms, or even
no caching algorithm at all).

So these tests are over-eagerly assuming that is cached will work in this case.

Opening this ticket as a placeholder so I can fudge these for
rakudo.jvm until we get a ruling.

-- 
Will "Coke" Coleda

Reply via email to