Skip to content

Commit

Permalink
Bugfix to mesh(): Ensure exception message names the right function
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Oct 18, 2024
1 parent 61aa9dc commit e4633ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ListUtil.xs
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,8 @@ PPCODE:
AV *av;

if(!SvROK(arg) || SvTYPE(SvRV(arg)) != SVt_PVAV)
croak("Expected an ARRAY reference to zip");
croak("Expected an ARRAY reference to %s",
is_mesh ? "mesh" : "zip");
av = lists[i] = (AV *)SvRV(arg);

if(!i) {
Expand Down

0 comments on commit e4633ce

Please sign in to comment.