[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: BUG-LISPM at MIT-AI
- From: Gregor J. Kiczales <Gregor at MIT-AI>
- Date: Sun ,10 Jan 82 14:01:00 EDT
In System 78.35, ZMail 38.5, microcode 843, CStacy special, on Lisp Machine Six:
Using defflavor with :ORDERED-INSTANCE-VARIABLES (I know this is a bad thing).
(defflavor foo
(a b c)
()
:ordered-instance-variables)
(defflavor bar
(d e f)
(foo)
(:ordered-instance-variables a b c d e f))
Gives ERROR: Flavor BAR has misspelled :ORDERED-INSTANCE-VARIABLES A B C.
But the ordering gets done correctly. This is because SI:DEFFLAVOR1
calls SI:VALIDATE-INSTANCE-VARIABLES-SPEC to check the args to
:ORDERED-INSTANCE-VARIABLES. But SI:VALIDATE-INSTANCE-VARIABLES-SPEC
only works for locally specified (not inherited) instance-variables.
";Check for typos in user-specified lists of instance variables.
;This assumes that only locally-specified (not inherited) instance variables
;may be mentioned in DEFFLAVOR declaration clauses."