removed send_message_with_str(), find_method_with_str()

registered some commonly used method names as symbols - doesNotUnderstand:, unwindTo:return:, primitiveFailed
invocation of the above methods doesn't need send_message_with_str()
changed startup method invocation to look up for a symbol first instead of using the above functions removed
This commit is contained in:
hyunghwan.chung
2019-06-23 04:49:38 +00:00
parent ae20171772
commit 3419097054
5 changed files with 124 additions and 155 deletions

View File

@ -809,7 +809,7 @@ moo_pfrc_t moo_pf_responds_to (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
return MOO_PF_FAILURE;
}
if (moo_findmethod(moo, rcv, selector, 0))
if (moo_findmethod(moo, rcv, (moo_oop_char_t)selector, 0))
{
MOO_STACK_SETRET (moo, nargs, moo->_true);
}