I would say it is a bug and log it with support

Denver Braughler wrote:
In a classmethod calling another classmethod in the same class, I can get <NO CURRENT 
OBJECT> depending on white space.

legal:
        s t=..mMyClassmethod()

illegal:
        s t=
        ..mMyClassmethod()

legal:
        s t=
        (       ..mMyClassmethod())

illegal:
        s t=(
                ..mMyClassmethod())


My guess is that the object syntax is somehow confused with the argumentless DO dot-block syntax. To me, there is no ambiguity. I don't have any dot blocks anywhere in the class.

Studio parses it correctly.
I even set my COS dots syntax color to red just to be sure.

Can anyone explain this to me and rationalize the <NO CURRENT OBJECT> message?



Reply via email to