From e79969719b631bf36a50e1d081290e97466bb412 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Fri, 27 Oct 2023 09:27:55 +0200 Subject: [PATCH] CvOUTSIDE is again set on all cloned subs (RT #149902) --- t/code.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/code.t b/t/code.t index ae04070..e5d350d 100644 --- a/t/code.t +++ b/t/code.t @@ -98,7 +98,7 @@ sub closure_without_eval { return sub { require ""; $a }; } -if ($] > 5.017001) { +if ($] > 5.017001 && "$]" < 5.039004) { # Again relying too much on the core's implementation, but while that holds, # this does test that CvOUTSIDE() is being followed. cmp_ok(total_size(closure_with_eval()), '>', -- 2.25.1