[squeak-dev] The Inbox: Environments-jr.70.mcz

Bert Freudenberg bert at freudenbergs.de
Mon Feb 13 14:57:51 UTC 2017


On Mon, Feb 13, 2017 at 1:08 PM, Jakob Reschke <jakob.reschke at student.hpi.de
> wrote:

Agreed. I based this on hasClassNamed: which uses the isKindOf: check as
well.


Yep, it predates isBehavior. I bet there's a lot of cargo-culting going on
here ...


classNamed: OTOH does not check the type and will also return a Trait.


That's because it predates traits and has not been updated.

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170213/ee6078f4/attachment.html>


More information about the Squeak-dev mailing list