diff --git a/basis/tools/annotations/annotations.factor b/basis/tools/annotations/annotations.factor index f02476d4da..2fb246786c 100644 --- a/basis/tools/annotations/annotations.factor +++ b/basis/tools/annotations/annotations.factor @@ -7,19 +7,24 @@ tools.time generic inspector fry tools.continuations locals generalizations macros ; IN: tools.annotations -GENERIC: reset ( word -- ) + + +: reset ( word -- ) + [ (reset) ] with-compilation-unit ; + ERROR: cannot-annotate-twice word ; M: cannot-annotate-twice summary drop "Cannot annotate a word twice" ;