install deprecation definition-observer as an init-hook
parent
6089251574
commit
94c50cfaeb
|
@ -1,6 +1,6 @@
|
||||||
! (c)2009 Joe Groff bsd license
|
! (c)2009 Joe Groff bsd license
|
||||||
USING: accessors arrays assocs compiler.units
|
USING: accessors arrays assocs compiler.units
|
||||||
debugger io kernel namespaces prettyprint sequences
|
debugger init io kernel namespaces prettyprint sequences
|
||||||
source-files.errors summary tools.crossref
|
source-files.errors summary tools.crossref
|
||||||
tools.crossref.private tools.errors words ;
|
tools.crossref.private tools.errors words ;
|
||||||
IN: tools.deprecation
|
IN: tools.deprecation
|
||||||
|
@ -67,6 +67,7 @@ M: deprecation-observer definitions-changed
|
||||||
[ [ check-deprecations ] each ]
|
[ [ check-deprecations ] each ]
|
||||||
[ drop initialize-deprecation-notes ] if ;
|
[ drop initialize-deprecation-notes ] if ;
|
||||||
|
|
||||||
\ deprecation-observer add-definition-observer
|
[ \ deprecation-observer add-definition-observer ]
|
||||||
|
"tools.deprecation" add-init-hook
|
||||||
|
|
||||||
initialize-deprecation-notes
|
initialize-deprecation-notes
|
||||||
|
|
Loading…
Reference in New Issue