Skip to content

Commit 205193c

Browse files
Update src/utils.jl
Co-authored-by: Shuhei Kadowaki <[email protected]>
1 parent c1d92b4 commit 205193c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ end
248248
is_leaf(frame::Frame) = frame.callee === nothing
249249

250250
function is_vararg_type(x)
251-
if isa(Vararg, Type)
251+
@static if isa(Vararg, Type)
252252
if isa(x, Type)
253253
(x <: Vararg && !(x <: Union{})) && return true
254254
if isa(x, UnionAll)

0 commit comments

Comments
 (0)