Skip to content

Commit

Permalink
Re-fix #12092
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jan 10, 2016
1 parent 86c23bd commit 234b203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jltypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2659,7 +2659,7 @@ static int jl_tuple_morespecific(jl_datatype_t *cdt, jl_datatype_t *pdt, int inv
if (!pseq)
pseq = (pi<plenr) && plenkind != JL_TUPLE_FIXED && jl_is_vararg_type(parent[pi]);
if (ci >= clenf && !cseq)
return some_morespecific || pi>=plenf || (pseq && !invariant);
return 1;
if (pi >= plenf && !pseq)
return some_morespecific;
if (ci < clenr) {
Expand Down

0 comments on commit 234b203

Please sign in to comment.