Fix inlining of compound parameters and add inlining for array_types