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.
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 >> > >
