]> gitweb.factorcode.org Git - factor.git/commitdiff
help.lint.checks: don't throw strings
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 17 Jul 2009 02:38:54 +0000 (21:38 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 17 Jul 2009 02:38:54 +0000 (21:38 -0500)
basis/help/lint/checks/checks.factor

index f8a4e6c15d900161f1b0fa636a9a09ee5464e468..56f104a1a1234cf258dbeeb469b2efe7c487390b 100644 (file)
@@ -143,7 +143,7 @@ SYMBOL: vocab-articles
     swap '[
         _ elements [
             rest { { } { "" } } member?
-            [ "Empty description" throw ] when
+            [ "Empty $description" simple-lint-error ] when
         ] each
     ] each ;