]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.units: always call definition observers at the end of a compilation unit
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 19:50:45 +0000 (11:50 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 19:50:45 +0000 (11:50 -0800)
core/compiler/units/units.factor

index 9792bd525621b7a5c9295e07205d6de2f91bd1b4..3a50096a0bbbdf6431443cbacf80dc867ac1e9ec 100644 (file)
@@ -151,8 +151,8 @@ M: object always-bump-effect-counter? drop f ;
     ] when ;
 
 : notify-observers ( -- )
-    updated-definitions dup null?
-    [ drop ] [ notify-definition-observers notify-error-observers ] if ;
+    updated-definitions notify-definition-observers
+    notify-error-observers ;
 
 : update-existing? ( defs -- ? )
     new-words get [ in? not ] curry any? ;