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
$ go build -gcflags '-m -l=3' x.go
# command-line-arguments
./x.go:3: can inline foo
./x.go:6: can inline main
./x.go:7: inlining call to foo
./x.go:3: foo xs does not escape
./x.go:7: invalid operation [2]string literal[:] (slice of unaddressable value)
./x.go:7: cannot use autotmp_0 (type [2]string) as type []string in assignment
$ go version
go version go1.7.3 linux/amd64
The text was updated successfully, but these errors were encountered:
x.go:
Compilation fails:
The text was updated successfully, but these errors were encountered: