assertion failure in pp_methstart #15
tonycoz
started this conversation in
Show and tell
Replies: 2 comments
-
Oooh fun. Yes I suspect this comes from a failure to check the instance is derived from the right class. See the TODO marker in class.c's if(!SvROK(self) ||
!SvOBJECT((rv = SvRV(self))) ||
SvTYPE(rv) != SVt_PVOBJ)
/* TODO: check it's in an appropriate class */
Perl_croak(aTHX_ "Cannot invoke method on a non-instance"); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed; new test added:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions