Fix bootstrap
parent
5aab0078a0
commit
7a33780bc2
|
@ -14,6 +14,10 @@ $nl
|
||||||
"To run help lint, use one of the following two words:"
|
"To run help lint, use one of the following two words:"
|
||||||
{ $subsection help-lint }
|
{ $subsection help-lint }
|
||||||
{ $subsection help-lint-all }
|
{ $subsection help-lint-all }
|
||||||
|
"Once a help lint run completes, failures can be listed:"
|
||||||
|
{ $subsection :lint-failures }
|
||||||
|
"Help lint failures are also shown in the " { $link "ui.tools.error-list" } "."
|
||||||
|
$nl
|
||||||
"Help lint performs the following checks:"
|
"Help lint performs the following checks:"
|
||||||
{ $list
|
{ $list
|
||||||
"ensures examples run and produce stated output"
|
"ensures examples run and produce stated output"
|
||||||
|
|
|
@ -5,17 +5,16 @@ words quotations io ;
|
||||||
ARTICLE: "compiler-errors" "Compiler warnings and errors"
|
ARTICLE: "compiler-errors" "Compiler warnings and errors"
|
||||||
"After loading a vocabulary, you might see messages like:"
|
"After loading a vocabulary, you might see messages like:"
|
||||||
{ $code
|
{ $code
|
||||||
":errors - print 2 compiler errors."
|
":errors - print 2 compiler errors"
|
||||||
":warnings - print 50 compiler warnings."
|
":warnings - print 50 compiler warnings"
|
||||||
}
|
}
|
||||||
"These warnings arise from the compiler's stack effect checker. Warnings are non-fatal conditions -- not all code has a static stack effect, so you try to minimize warnings but understand that in many cases they cannot be eliminated. Errors indicate programming mistakes, such as erroneous stack effect declarations."
|
"These messages arise from the compiler's stack effect checker. Production code should not have any warnings and errors in it. Warning and error conditions are documented in " { $link "inference-errors" } "."
|
||||||
$nl
|
|
||||||
"The precise warning and error conditions are documented in " { $link "inference-errors" } "."
|
|
||||||
$nl
|
$nl
|
||||||
"Words to view warnings and errors:"
|
"Words to view warnings and errors:"
|
||||||
{ $subsection :errors }
|
|
||||||
{ $subsection :warnings }
|
{ $subsection :warnings }
|
||||||
{ $subsection :linkage } ;
|
{ $subsection :errors }
|
||||||
|
{ $subsection :linkage }
|
||||||
|
"Compiler warnings and errors are also shown in the " { $link "ui.tools.error-list" } "." ;
|
||||||
|
|
||||||
HELP: compiler-error
|
HELP: compiler-error
|
||||||
{ $values { "error" "an error" } { "word" word } }
|
{ $values { "error" "an error" } { "word" word } }
|
||||||
|
|
|
@ -16,7 +16,9 @@ ARTICLE: "tools.test.run" "Running unit tests"
|
||||||
{ $subsection test }
|
{ $subsection test }
|
||||||
{ $subsection test-all }
|
{ $subsection test-all }
|
||||||
"The following word prints failures:"
|
"The following word prints failures:"
|
||||||
{ $subsection :failures }
|
{ $subsection :test-failures }
|
||||||
|
"Help lint failures are also shown in the " { $link "ui.tools.error-list" } "."
|
||||||
|
$nl
|
||||||
"Unit test failurs are instances of a class, and are stored in a global variable:"
|
"Unit test failurs are instances of a class, and are stored in a global variable:"
|
||||||
{ $subsection test-failure }
|
{ $subsection test-failure }
|
||||||
{ $subsection test-failures } ;
|
{ $subsection test-failures } ;
|
||||||
|
@ -70,5 +72,5 @@ HELP: test
|
||||||
HELP: test-all
|
HELP: test-all
|
||||||
{ $description "Runs unit tests for all loaded vocabularies." } ;
|
{ $description "Runs unit tests for all loaded vocabularies." } ;
|
||||||
|
|
||||||
HELP: :failures
|
HELP: :test-failures
|
||||||
{ $description "Prints all pending unit test failures." } ;
|
{ $description "Prints all pending unit test failures." } ;
|
||||||
|
|
Loading…
Reference in New Issue