[Glass] Methods with selectors #and: #or: #repeat

James Foster via Glass glass at lists.gemtalksystems.com
Wed Oct 10 05:48:06 PDT 2018

Yes, the Programming Guide has a list of reserved selectors. 

"There are a few selectors that have been reserved for the sole use of the GemStone kernel classes. The compiler will not allow you to compile methods with reserved selectors."

— https://downloads.gemtalksystems.com/docs/GemStone64/3.4.x/GS64-ProgGuide-3.4/A-Syntax.htm#pgfId-947717

> On Oct 9, 2018, at 11:53 PM, Jupiter Jones via Glass <glass at lists.gemtalksystems.com> wrote:
> I’m getting errors when compiling methods compiling methods with selectors #and: #or: #repeat
> For example:
> Condition class(Behavior)>>compileMethod:category: @10 line 16'   and: aCondition\   and: aCondition
>           ^ CompositeCondition satisfying: self and: aCondition
> 1: [1046] You may not compile a method for this selector.
> Are these reserved selector names or is something else going on?
> Cheers,
> J
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20181010/b523c4c1/attachment.html>

More information about the Glass mailing list