Well I see no reason for this not to work. It's just that inlining large functions is not a good practice (see i.e. http://stackoverflow.com/a/1932371/1525865).

The pattern that I observe in the PCL codebase is that only setter/getter functions and one-liners that dispatch to other functions (like in this case) are inlined.