[Pharo-dev] curious

Ben Coman btc at openinworld.com
Fri Oct 27 02:31:41 EDT 2017

Ahh... it was a brain freeze.
The [meta] tab shows the methods of the selected instance,
but my "key" is not an instance of PackageCheck,
it the PackageCheck Class, so the class-side methods are shown.

cheers -ben

On Fri, Oct 27, 2017 at 1:30 PM, Ben Coman <btc at openinworld.com> wrote:

> I wasn't what to title this post.
> Please just take a moment to inspect...
> Object subclasses
>   collect: [:class| class -> class methods size]
>   thenSelect: [:map|
> (map value between: 1 and: 5) and:
> (map key printString first = $P) ].
> Then choose (a random example)...
>    "PackageChecker->1" item
>    "key" variable
>    [Meta] tab
>    "PackageCheck class" item
> and I'd expect a single method shown, rather than the zero I see.
> Actually I'd expect the choice in that last step
> to be "PackageCheck" rather than "PackageCheck class"
> Now continue with, browse "PackageCheck class"
> then switch to instance side, and there I see the single class I expected
> earlier.
> So is there something wrong there, or am I having a brain freeze?
> cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171027/72fd7c05/attachment-0002.html>

More information about the Pharo-dev mailing list