{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/15037","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/15037/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/15037/comments","events_url":"https://api.github.com/repos/golang/go/issues/15037/events","html_url":"https://github.com/golang/go/issues/15037","id":144811247,"number":15037,"title":"The argument `...` cannot use arr (type []string) as type []interface {}","user":{"login":"huayi","id":6790268,"avatar_url":"https://avatars.githubusercontent.com/u/6790268?v=3","gravatar_id":"","url":"https://api.github.com/users/huayi","html_url":"https://github.com/huayi","followers_url":"https://api.github.com/users/huayi/followers","following_url":"https://api.github.com/users/huayi/following{/other_user}","gists_url":"https://api.github.com/users/huayi/gists{/gist_id}","starred_url":"https://api.github.com/users/huayi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huayi/subscriptions","organizations_url":"https://api.github.com/users/huayi/orgs","repos_url":"https://api.github.com/users/huayi/repos","events_url":"https://api.github.com/users/huayi/events{/privacy}","received_events_url":"https://api.github.com/users/huayi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T07:16:47Z","updated_at":"2016-03-31T07:21:27Z","closed_at":"2016-03-31T07:21:27Z","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of Go are you using (`go version`)?\r\n`go version go1.6 windows/amd64`\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n  ```\r\nset GOARCH=amd64\r\nset GOBIN=\r\nset GOEXE=.exe\r\nset GOHOSTARCH=amd64\r\nset GOHOSTOS=windows\r\nset GOOS=windows\r\nset GOPATH=D:\\Aworkspace\\go\r\nset GORACE=\r\nset GOROOT=D:\\Develop\\go\r\nset GOTOOLDIR=D:\\Develop\\go\\pkg\\tool\\windows_amd64\r\nset GO15VENDOREXPERIMENT=1\r\nset CC=gcc\r\nset GOGCCFLAGS=-m64 -mthreads -fmessage-length=0\r\nset CXX=g++\r\nset CGO_ENABLED=1\r\n  ```\r\n\r\n3. What did you do?\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\n  ```go\r\n  func print(a ...interface{}){\r\n      fmt.Println(a...)\r\n  }\r\n\r\n  func main() {\r\n      var sl []string\r\n      sl = append(sl, \"a\",\"b\")\r\n      print(sl...)  //cannot use sl (type []string) as type []interface {} in argument to print\r\n      //print(\"a\",\"b\")   //this line can be output: \"a\" \"b\"\r\n      fmt.Println(sl...) //cannot use sl (type []string) as type []interface {} in argument to fmt.Println\r\n  }\r\n  ```\r\n4. What did you expect to see?\r\n`Print(sl...)` and ` fmt.Println(sl...) ` \r\nShould be normal output\r\n\r\n5. What did you see instead?\r\n`cannot use sl (type []string) as type []interface {} in argument to print`\r\n`cannot use sl (type []string) as type []interface {} in argument to fmt.Println`\r\n\r\nI know that `[]string` and `[]interface{}` are not the same type.\r\nBut I use `...`, It should be compared to `string` and `interface{}` instead of `[]string` and `interface{}`\r\nI think `sl...` should be equal to `\"a\",\"b\"`\r\n\r\nThanks!\r\n\r\n"}}