cocoa.messages: use ERROR:.

db4
John Benediktsson 2013-03-29 13:21:42 -07:00
parent 98f05ef812
commit 64822a7a30
1 changed files with 3 additions and 2 deletions

View File

@ -53,9 +53,10 @@ SYMBOL: objc-methods
objc-methods [ H{ } clone ] initialize
ERROR: no-objc-method name ;
: lookup-method ( selector -- method )
dup objc-methods get at
[ ] [ "No such method: " prepend throw ] ?if ;
dup objc-methods get at [ ] [ no-objc-method ] ?if ;
MEMO: make-prepare-send ( selector method super? -- quot )
[