From 399e65035866f7c48ad0829a82833614f9e5b3c3 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 14 Oct 2021 23:18:45 -0700 Subject: note about PROGRAMMATIC-APPLY-HOSTATTRS for DEFPROPLIST/DEFPROPSPEC Signed-off-by: Sean Whitton --- src/property.lisp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/property.lisp b/src/property.lisp index 245c440..23c1780 100644 --- a/src/property.lisp +++ b/src/property.lisp @@ -310,6 +310,12 @@ function cell, instead of constructing a propapp, within DEFPROPSPEC.")) ;; Properties with :HOSTATTRS subroutines which set ;; new hostattrs should not be used programmatically ;; in this way, so issue a warning. + ;; + ;; TODO If this property is defined using + ;; DEFPROPLIST/DEFPROPSPEC and has no user-supplied + ;; :HOSTATTRS subroutine of its own, but one of the + ;; properties in the returned propspec does, then we + ;; won't issue the warning, but we should. ,@(and programmatic-warning (getf ,slotsv :hostattrs) `((warn 'programmatic-apply-hostattrs -- cgit v1.2.3