You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should produce a warning like "Invalid inherited slot specification: the foo slot is not inherited from any superclass", but it doesn't.
define class <base> (<object>) end;
define class <sub> (<base>)
inherited slot foo = bar;
end;
Note that if you're lucky enough, foo will not be otherwise defined and you'll get an undefined binding warning, but if foo is bound you'll get no warning at all.
I noticed this because I accidentally put two inherited slot definitions in the wrong class and got no warning.
The text was updated successfully, but these errors were encountered:
This should produce a warning like "Invalid inherited slot specification: the foo slot is not inherited from any superclass", but it doesn't.
Note that if you're lucky enough, foo will not be otherwise defined and you'll get an undefined binding warning, but if foo is bound you'll get no warning at all.
I noticed this because I accidentally put two inherited slot definitions in the wrong class and got no warning.
The text was updated successfully, but these errors were encountered: