You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ls[i].Right is nil at line #157. That's causing iscallret() to pass nil to outervalue().
From what I understand, instrumentnode() is trying to determine whether an OAS node after function call was copying results off stack. But it appears from the dump (obtained with JayNakrani@c5f8b0b), that there can be autotmp OAS nodes with Right set to nil just after CALLFUNC. If it's okay for an OAS node to have nil Right, then fix is simple: golang.org/cl/34929
I also tried to isolate the problem in the source code, and it's the for loop's third assignment in main(). i.e the following snippet,
Reproducer:
https://gist.githubusercontent.com/dvyukov/20774908b7ea4e70a16d/raw/b0df0a7818189971dd47daa7d93fdc5b215decf4/test.go
$ go build -race gogo.go
go version devel +25a28da Sun Nov 15 23:41:28 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered: