when the function's return type handle is a pointer but the result location's result value type handle is not a pointer closes #3055