Don Rylander schrieb:
> In Professional 6.02, #isKindOf: doesn't seem to work as advertised, whereas
> #includesBehavior: does. Try
>
> DialogView isKindOf: View. "returns false for me"
> DialogView includesBehavior: View "returns true"
>
> I didn't test it exhaustively, but it only seems to work if the
> candidateClass is Object.
>
> Don
What is advertised is:
"Answer whether the receiver is an instance of the argument,
candidateClass,
or one of its subclasses....."
You send #isKindOf: to the class DialogView and not to one of it's
instances.
DialogView new isKindOf: View. "returns true for me"
Cheers
Matt