From 82c2895263d4ee96042aa31d56602b21fab1c44d Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> Date: Wed, 30 Oct 2024 04:10:41 +0900 Subject: [PATCH] Update test/compiler/EscapeAnalysis/EscapeAnalysis.jl --- test/compiler/EscapeAnalysis/EscapeAnalysis.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compiler/EscapeAnalysis/EscapeAnalysis.jl b/test/compiler/EscapeAnalysis/EscapeAnalysis.jl index 66ec1b0b81e4ad..4799fe4cee5ca6 100644 --- a/test/compiler/EscapeAnalysis/EscapeAnalysis.jl +++ b/test/compiler/EscapeAnalysis/EscapeAnalysis.jl @@ -671,7 +671,7 @@ end @test has_all_escape(result.state[Argument(3)]) # b end let result = @eval EATModule() begin - const Rx = SafeRef{Base.RefValue{String}}() + const Rx = SafeRef(Ref("")) $code_escapes((Base.RefValue{String},)) do s Rx[] = s Core.sizeof(Rx[])