mirror of
https://github.com/janet-lang/janet
synced 2025-10-20 02:07:40 +00:00
Improve error message on bad method calls.
This commit is contained in:
@@ -107,7 +107,6 @@ Janet janet_getmethod(const uint8_t *method, const JanetMethod *methods) {
|
||||
return janet_wrap_cfunction(methods->cfun);
|
||||
methods++;
|
||||
}
|
||||
janet_panicf("unknown method :%S invoked", method);
|
||||
return janet_wrap_nil();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user