fix order-of-execution after inlining a multiline function into a function argument list
avoid inlining in any part of an internal method definition while compiling a function