AlexStocks commented on PR #3284:
URL: https://github.com/apache/dubbo-go/pull/3284#issuecomment-4191973210

   [P0] 阻断级问题:在变长参数处理逻辑中,条件 '(len(method.ArgsType()) == 1 || 
len(method.ArgsType()) == 2 && method.ReplyType() == nil) && 
method.ArgsType()[0].String() == "[]interface {}"' 可能与变长参数处理冲突。变长参数(如 
'func(args ...interface{})')确实会有 'argsType[0] == []interface{}',但这不是真正的 
'[]interface{}' 类型而是变长参数类型。需要更精确的类型判断逻辑,区分真正的 '[]interface{}' 参数和变长参数的 '[]T' 
类型,以避免错误的参数封装。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to