golang/go

cmd/compile: internal compiler error: getinarg: not a func int

dvyukov opened this issue · 2 comments

gc crashes on the following program:

package n
func F(interface{int}){}
func s(){F(3)}
go.go:3: internal compiler error: getinarg: not a func int

go version devel +71832ff Fri Jul 3 21:39:04 2015 +0000 linux/amd64

This looked familiar to another issue that I submitted a patch for. The change was accepted (https://go-review.googlesource.com/#/c/13747/). I double checked, and that patch also fixes this issue.

I'm not sure what the right protocol is for officially closing this out, but I'm confident this is a non-issue now.

minux commented

Confirmed fixed.