We used the wrong class for the warnings

This commit is contained in:
jjgarcia 2008-09-19 17:41:15 +00:00
parent 1c5e547036
commit 383c04e3c2

View file

@ -414,8 +414,9 @@ because it contains a reference to the undefined class~% ~A"
(error "~a is not a valid class specifier." class-or-symbol))
((find-class class-or-symbol fail))
(t
(warn 'style-warning
"Class ~A has been forward referenced." class-or-symbol)
(warn 'ext::simple-style-warning
:format-control "Class ~A has been forward referenced."
:format-arguments (list class-or-symbol))
(ensure-class class-or-symbol
:metaclass 'forward-referenced-class
:direct-superclasses (list (find-class 'standard-object))