Replace FunctionAst#returns with #chainable?
As we're only detecting 'return this;' using a predicate is better than a function returning 'this' or nil. FunctionAst is now also a singleton, but that fact is hidden away behind static #chainable? method.
Loading
Please register or sign in to comment