help.lint.checks: maybe clearer error message.
parent
6b9c7c6772
commit
c765f85851
|
@ -93,11 +93,11 @@ SYMBOL: vocab-articles
|
||||||
] if ;
|
] if ;
|
||||||
|
|
||||||
: check-value-effects ( word element -- )
|
: check-value-effects ( word element -- )
|
||||||
[ effect-effects ]
|
[ effect-effects ] [ extract-value-effects ] bi*
|
||||||
[ extract-value-effects ]
|
[ 2dup and [ = ] [ 2drop t ] if ] 2all? [
|
||||||
bi* [ 2dup and [ = ] [ 2drop t ] if ] 2all?
|
"$quotation stack effects in $values don't match"
|
||||||
[ "$quotation documentation in $values don't match stack effect" simple-lint-error ]
|
simple-lint-error
|
||||||
unless ;
|
] unless ;
|
||||||
|
|
||||||
: check-nulls ( element -- )
|
: check-nulls ( element -- )
|
||||||
\ $values swap elements
|
\ $values swap elements
|
||||||
|
|
Loading…
Reference in New Issue