Don't call notify-error-observers if there weren't any new definitions

db4
Slava Pestov 2009-04-24 01:19:28 -05:00
parent b78332d645
commit 7d0ae65adc
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ GENERIC: definitions-changed ( assoc obj -- )
update-tuples
process-forgotten-definitions
modify-code-heap
updated-definitions dup assoc-empty? [ drop ] [ notify-definition-observers ] if
notify-error-observers ;
updated-definitions dup assoc-empty?
[ drop ] [ notify-definition-observers notify-error-observers ] if ;
: with-nested-compilation-unit ( quot -- )
[