Fix tools.errors unit test and help lint

db4
Slava Pestov 2009-04-24 00:10:48 -05:00
parent ba40acda28
commit 04c6e8fcf8
2 changed files with 4 additions and 11 deletions

View File

@ -1,6 +1,6 @@
IN: tools.errors
USING: help.markup help.syntax source-files.errors words io
compiler.errors ;
compiler.errors classes ;
ARTICLE: "compiler-errors" "Compiler errors"
"After loading a vocabulary, you might see a message like:"
@ -15,11 +15,11 @@ $nl
"Compiler errors are reported using the " { $link "tools.errors" } " mechanism, and as a result, they are also are shown in the " { $link "ui.tools.error-list" } "." ;
HELP: compiler-error
{ $values { "error" compiler-error } { "word" word } }
{ $values { "error" compiler-error } }
{ $description "Saves the error for viewing with " { $link :errors } "." } ;
HELP: linkage-error
{ $values { "error" linkage-error } { "word" word } }
{ $values { "error" linkage-error } { "word" word } { "class" class } }
{ $description "Saves the error for viewing with " { $link :linkage } "." } ;
HELP: :errors

View File

@ -6,14 +6,7 @@ DEFER: blah
[ ] [
{
T{ compiler-error
{ error
T{ inference-error
f
T{ do-not-compile f blah }
+compiler-error+
blah
}
}
{ error T{ do-not-compile f blah } }
{ asset blah }
}
} errors.