Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed May 16, 2019
1 parent fc3c5ef commit 611b947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ static int subtype_tuple_varargs(struct subtype_tuple_env *env, jl_stenv_t *e, i

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

0 comments on commit 611b947

Please sign in to comment.