alibaba/IOC-golang

[BUG] Proxy AOP layer returns reference value but not copy of value.

开放

#46 创建于 2022年6月20日

 (0 条评论) (0 个反应) (0 位负责人)Go (123 个派生)auto 404
good first issue

仓库指标

星标
 (1,230 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

With param like slice: []string , Here is an example:

// input is []string{"hello")
func (i *Impl) Write(input []string){
    input.append(input, "world")
}

The watch values would shows the final value of the param: []string{"hello", "world", but not the real param value []string{"hello"}

贡献者指南