Skip to content
Commit cab57d1f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

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.
parent 31bf26a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment