Skip to content

Commit c089124

Browse files
author
Andy Ferris
committed
Remove pure annotation from promote_tuple_eltype
1 parent 14f2e62 commit c089124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TupleN{T,N} = NTuple{N,T}
77
@generated function convert_ntuple{N,T}(::Type{T}, d::NTuple{N,Any})
88
exprs = ntuple(i -> :(convert(T, d[$i])), Val{N})
99
return quote
10-
$(Expr(:meta, :inline))
10+
@_inline_meta
1111
$(Expr(:tuple, exprs...))
1212
end
1313
end
@@ -23,7 +23,7 @@ end
2323
t = :(promote_type($t, $tmp))
2424
end
2525
return quote
26-
$(Expr(:meta,:pure))
26+
@_inline_meta
2727
$t
2828
end
2929
end

0 commit comments

Comments
 (0)