Hi
Recently #kind was made mutable on MADescription. I think this is
great and set it on the containers of my model classes to my model
classes. This allows me to do the following:
aDescription kind new
which is really cool. The problem is that now I always get kind
validation errors. The cause is the following code in MADescription:
validateKind: anObject
"Validate ==anObject== to be of the right kind."
(anObject isKindOf: self kind)
ifFalse: [ MAKindError description: self signal: self kindErrorMessage ]
anObject would be an MACheckedMemento. self kind would previously
always answer Object so this test would always pass. Now however self
kind answers my model class and always fails.
Any ideas?
Cheers
Philippe