[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

meta-object protocol

The problem with the default behavior of check-super-metaclass-compatibility
is NOT that it gives an error.  The problem is that the error message
gives no clue as to how to fix the problem!  If the error message revealed
that a redefinition of check-super-metatclass-compatibility is required
when inheriting from standard-class then the misunderstanding would go away.

check-super-metaclass-compatibility should be coded as a "must be
implemented" method.  If you reach the standard one, you get an error
message telling you that your subclass must implement, rather than inherit,
this particular method.  I believe Smalltalk has this concept.