2016-01-19 22:05 GMT+01:00 Yuriy Tymchuk <[email protected]>: > It makes sense, > > syntactically factorial is not a message sent, so it can’t be looked up a > a method. I don’t know about the implementation, but maybe it tries to look > it up as a global var. >
It is parsed as an incomplete identifier and results in a RBErrorNode. If thee parser would recognized this as a valid message selector, it would create a RBMetNode and the highlighter would assign an appropiate TextLink. > > Cheers. > Uko > > > On 19 Jan 2016, at 21:51, Sven Van Caekenberghe <[email protected]> wrote: > > > > > >> On 19 Jan 2016, at 21:47, stepharo <[email protected]> wrote: > >> > >> Sven > >> - I took the latest 50 > >> - open playground > >> - type factorial > >> - cmd click on it => nothing > >> - cmd shift click on it => nothing > > > > factorial is not valid code > > 1 factorial is and then it works > > so it has something to do with parsing/ast/errors, I guess > > > >> Now doing the same in Nautilus method pane works > >> Now I understand why it was not working with me. > >> > >> It only works on method body. > >> If you click on a signature it does not work (which is a bug to me). > >> > >> Stef > >> > > > > > > >
