From c765f85851c8db8efc0a6a76dc8a61e0db3fea6c Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Fri, 6 Jun 2014 14:39:15 -0700 Subject: [PATCH] help.lint.checks: maybe clearer error message. --- basis/help/lint/checks/checks.factor | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/basis/help/lint/checks/checks.factor b/basis/help/lint/checks/checks.factor index 566dcb7359..b491fd43c9 100644 --- a/basis/help/lint/checks/checks.factor +++ b/basis/help/lint/checks/checks.factor @@ -93,11 +93,11 @@ SYMBOL: vocab-articles ] if ; : check-value-effects ( word element -- ) - [ effect-effects ] - [ extract-value-effects ] - bi* [ 2dup and [ = ] [ 2drop t ] if ] 2all? - [ "$quotation documentation in $values don't match stack effect" simple-lint-error ] - unless ; + [ effect-effects ] [ extract-value-effects ] bi* + [ 2dup and [ = ] [ 2drop t ] if ] 2all? [ + "$quotation stack effects in $values don't match" + simple-lint-error + ] unless ; : check-nulls ( element -- ) \ $values swap elements