{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/10378","labels_url":"https://api.github.com/repos/golang/go/issues/10378/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/10378/comments","events_url":"https://api.github.com/repos/golang/go/issues/10378/events","html_url":"https://github.com/golang/go/issues/10378","id":67109860,"number":10378,"title":"cmd/cover: mishandles go: comments","user":{"login":"dvyukov","id":1095328,"avatar_url":"https://avatars.githubusercontent.com/u/1095328?v=3","gravatar_id":"","url":"https://api.github.com/users/dvyukov","html_url":"https://github.com/dvyukov","followers_url":"https://api.github.com/users/dvyukov/followers","following_url":"https://api.github.com/users/dvyukov/following{/other_user}","gists_url":"https://api.github.com/users/dvyukov/gists{/gist_id}","starred_url":"https://api.github.com/users/dvyukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvyukov/subscriptions","organizations_url":"https://api.github.com/users/dvyukov/orgs","repos_url":"https://api.github.com/users/dvyukov/repos","events_url":"https://api.github.com/users/dvyukov/events{/privacy}","received_events_url":"https://api.github.com/users/dvyukov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T11:38:47Z","updated_at":"2015-04-08T11:38:47Z","closed_at":null,"body":"Running with current tip.\r\nsyscall/syscall_linux_amd64.go mistransformed from:\r\n\r\npackage syscall\r\nconst _SYS_dup = SYS_DUP2\r\nfunc Getpagesize() int { return 4096 }\r\n//go:noescape\r\nfunc gettimeofday(tv *Timeval) (err Errno)\r\n\r\nto:\r\n\r\npackage syscall\r\nconst _SYS_dup = SYS_DUP2\r\nfunc Getpagesize() int  { GoCover_140.Count[\r\n//go:noescape\r\n0] = 1; return 4096 }\r\nfunc gettimeofday(tv *Timeval) (err Errno)\r\n\r\nReproduce by running (on linux/amd64):\r\n\r\n$ go test -c -cover syscall\r\n# syscall\r\n/tmp/go-build072163369/syscall/_test/_obj_test/syscall_linux_amd64.go:12: can only use //go:noescape with external func implementations\r\n"}}