Skip to content

Commit 611b947

Browse files
committed
Fix bug
1 parent fc3c5ef commit 611b947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ static int subtype_tuple_varargs(struct subtype_tuple_env *env, jl_stenv_t *e, i
917917

918918
// Vararg{T,N} <: Vararg{T2,N2}; equate N and N2
919919
e->invdepth++;
920-
JL_GC_PUSH2(xp1, yp1);
920+
JL_GC_PUSH2(&xp1, &yp1);
921921
if (jl_is_long(xp1) && env->vx != 1)
922922
xp1 = jl_box_long(jl_unbox_long(xp1) - env->vx + 1);
923923
if (jl_is_long(yp1) && env->vy != 1)

0 commit comments

Comments
 (0)