]> gitweb.factorcode.org Git - factor.git/commitdiff
words: better error class for undefined-word
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 26 Aug 2023 04:15:48 +0000 (21:15 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 26 Aug 2023 04:15:48 +0000 (21:15 -0700)
core/words/words.factor

index 749824e6ed2fc73d10df2fbac1c78eabcda2e37d..c020ec8f76a72d33389a7ffe26351beec371141d 100644 (file)
@@ -51,9 +51,9 @@ M: word definition def>> ;
 
 PRIVATE>
 
-TUPLE: undefined-word word ;
+ERROR: undefined-word word ;
 
-: undefined ( -- * ) get-callstack caller undefined-word boa throw ;
+: undefined ( -- * ) get-callstack caller undefined-word ;
 
 : undefined-def ( -- quot )
     ! 'f' inhibits tail call optimization in non-optimizing