Skip to content

Commit 2d05141

Browse files
committed
Attempt to fix #207
1 parent a3e259e commit 2d05141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/copyable_task.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,8 +1226,8 @@ end
12261226

12271227
# Helper used in `derive_copyable_task_ir`.
12281228
@inline function deref_phi(refs::R, n::TupleRef, ::Type{T}) where {R<:Tuple,T}
1229-
ref = refs[n.n]::Base.RefValue{T}
1230-
return ref[]
1229+
ref = refs[n.n]
1230+
return ref[]::T
12311231
end
12321232
@inline deref_phi(::R, x, t::Type) where {R<:Tuple} = x
12331233

0 commit comments

Comments
 (0)