Login  Register

Re: Methods with selectors #and: #or: #repeat

Posted by GLASS mailing list on Oct 10, 2018; 12:48pm
URL: https://forum.world.st/Install-last-master-branch-of-Seaside-tp5085039p5086744.html

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 <[hidden email]> 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
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass