{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/10341","labels_url":"https://api.github.com/repos/golang/go/issues/10341/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/10341/comments","events_url":"https://api.github.com/repos/golang/go/issues/10341/events","html_url":"https://github.com/golang/go/issues/10341","id":66237607,"number":10341,"title":"spec: bounded type selectors","user":{"login":"aubble","id":10180857,"avatar_url":"https://avatars.githubusercontent.com/u/10180857?v=3","gravatar_id":"","url":"https://api.github.com/users/aubble","html_url":"https://github.com/aubble","followers_url":"https://api.github.com/users/aubble/followers","following_url":"https://api.github.com/users/aubble/following{/other_user}","gists_url":"https://api.github.com/users/aubble/gists{/gist_id}","starred_url":"https://api.github.com/users/aubble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aubble/subscriptions","organizations_url":"https://api.github.com/users/aubble/orgs","repos_url":"https://api.github.com/users/aubble/repos","events_url":"https://api.github.com/users/aubble/events{/privacy}","received_events_url":"https://api.github.com/users/aubble/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/Documentation","name":"Documentation","color":"aaffaa"}],"state":"open","locked":false,"assignee":{"login":"griesemer","id":8528975,"avatar_url":"https://avatars.githubusercontent.com/u/8528975?v=3","gravatar_id":"","url":"https://api.github.com/users/griesemer","html_url":"https://github.com/griesemer","followers_url":"https://api.github.com/users/griesemer/followers","following_url":"https://api.github.com/users/griesemer/following{/other_user}","gists_url":"https://api.github.com/users/griesemer/gists{/gist_id}","starred_url":"https://api.github.com/users/griesemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griesemer/subscriptions","organizations_url":"https://api.github.com/users/griesemer/orgs","repos_url":"https://api.github.com/users/griesemer/repos","events_url":"https://api.github.com/users/griesemer/events{/privacy}","received_events_url":"https://api.github.com/users/griesemer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/6","html_url":"https://github.com/golang/go/milestones/Unplanned","labels_url":"https://api.github.com/repos/golang/go/milestones/6/labels","id":1055141,"number":6,"title":"Unplanned","description":"No plan to fix in any specific release.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":1024,"closed_issues":73,"state":"open","created_at":"2015-04-06T20:47:19Z","updated_at":"2015-08-04T16:19:28Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":6,"created_at":"2015-04-03T22:10:20Z","updated_at":"2015-08-04T21:33:47Z","closed_at":null,"body":"Spec (https://golang.org/ref/spec#Method_declarations): \"The receiver is specified via an extra parameter section preceeding the method name. That parameter section must declare a single parameter, the receiver. Its type must be of the form T or \\*T (possibly using parentheses) where T is a type name. The type denoted by T is called the receiver base type; it must not be a pointer or interface type and it must be declared in the same package as the method. **The method is said to be bound to the base type and the method name is visible only within selectors for that type.**\"\r\n\r\nIt says for that type, whereas according to http://golang.org/ref/spec#Selectors, it is also visible within pointers to the receiver base type. This is true whether the method has a pointer or a value receiver.  It's being misleading, unless selectors on both `T` and `*T` values are considered selectors for `T`, which should be stated more clearly if it's the case. If it isn't the case, then the spec is incorrect and needs to be fixed.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/127768834","html_url":"https://github.com/golang/go/issues/10341#issuecomment-127768834","issue_url":"https://api.github.com/repos/golang/go/issues/10341","id":127768834,"user":{"login":"aubble","id":10180857,"avatar_url":"https://avatars.githubusercontent.com/u/10180857?v=3","gravatar_id":"","url":"https://api.github.com/users/aubble","html_url":"https://github.com/aubble","followers_url":"https://api.github.com/users/aubble/followers","following_url":"https://api.github.com/users/aubble/following{/other_user}","gists_url":"https://api.github.com/users/aubble/gists{/gist_id}","starred_url":"https://api.github.com/users/aubble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aubble/subscriptions","organizations_url":"https://api.github.com/users/aubble/orgs","repos_url":"https://api.github.com/users/aubble/repos","events_url":"https://api.github.com/users/aubble/events{/privacy}","received_events_url":"https://api.github.com/users/aubble/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T21:33:47Z","updated_at":"2015-08-04T21:33:47Z","body":"@griesemer well I mean it will be public anyway in the contributors file so its fine. explicit is okk"}}