]> gitweb.factorcode.org Git - factor.git/blobdiff - core/classes/builtin/builtin.factor
change ERROR: words from throw-foo back to foo.
[factor.git] / core / classes / builtin / builtin.factor
index 9a2469f70ba58607a14d2c83b00eaaad7693f47c..72178f62f2728bf4072c956e81a41e692098ea25 100644 (file)
@@ -12,7 +12,7 @@ PREDICATE: builtin-class < class
 ERROR: not-a-builtin object ;
 
 : check-builtin ( class -- )
-    dup builtin-class? [ drop ] [ throw-not-a-builtin ] if ;
+    dup builtin-class? [ drop ] [ not-a-builtin ] if ;
 
 : class>type ( class -- n ) "type" word-prop ; foldable