fix Issue 13006 - Allow inout return type without inout parameters