! (c)2009 Joe Groff bsd license
-USING: accessors arrays assocs compiler.units
-debugger init io kernel namespaces prettyprint sequences
+USING: accessors arrays assocs compiler.units debugger init io
+io.streams.null kernel namespaces prettyprint sequences
source-files.errors summary tools.crossref
tools.crossref.private tools.errors words ;
IN: tools.deprecation
SINGLETON: deprecation-observer
: initialize-deprecation-notes ( -- )
- get-crossref [ drop deprecated? ] assoc-filter
- values [ keys [ check-deprecations ] each ] each ;
+ [
+ get-crossref [ drop deprecated? ] assoc-filter
+ values [ keys [ check-deprecations ] each ] each
+ ] with-null-writer ;
M: deprecation-observer definitions-changed
drop keys [ word? ] filter