{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-library/issues/569","labels_url":"https://api.github.com/repos/google/closure-library/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-library/issues/569/comments","events_url":"https://api.github.com/repos/google/closure-library/issues/569/events","html_url":"https://github.com/google/closure-library/pull/569","id":108622778,"number":569,"title":"Changed return type og goog.object.get","user":{"login":"ducklord","id":841693,"avatar_url":"https://avatars.githubusercontent.com/u/841693?v=3","gravatar_id":"","url":"https://api.github.com/users/ducklord","html_url":"https://github.com/ducklord","followers_url":"https://api.github.com/users/ducklord/followers","following_url":"https://api.github.com/users/ducklord/following{/other_user}","gists_url":"https://api.github.com/users/ducklord/gists{/gist_id}","starred_url":"https://api.github.com/users/ducklord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducklord/subscriptions","organizations_url":"https://api.github.com/users/ducklord/orgs","repos_url":"https://api.github.com/users/ducklord/repos","events_url":"https://api.github.com/users/ducklord/events{/privacy}","received_events_url":"https://api.github.com/users/ducklord/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/closure-library/labels/CLA:%20yes","name":"CLA: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T09:45:46Z","updated_at":"2015-09-28T19:00:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/closure-library/pulls/569","html_url":"https://github.com/google/closure-library/pull/569","diff_url":"https://github.com/google/closure-library/pull/569.diff","patch_url":"https://github.com/google/closure-library/pull/569.patch"},"body":"Hey,\r\nThis is a change to something very central, so if you do not want this change I do understand. But is it not true that when the optional value is set, the return value will always be this value, and in case the default return value is not set, then template value R will be undefined as return type? So the return type will be V|undefined, when opt_val is not given as parameter?"},"comment":{"url":"https://api.github.com/repos/google/closure-library/issues/comments/143844686","html_url":"https://github.com/google/closure-library/pull/569#issuecomment-143844686","issue_url":"https://api.github.com/repos/google/closure-library/issues/569","id":143844686,"user":{"login":"shicks","id":143899,"avatar_url":"https://avatars.githubusercontent.com/u/143899?v=3","gravatar_id":"","url":"https://api.github.com/users/shicks","html_url":"https://github.com/shicks","followers_url":"https://api.github.com/users/shicks/followers","following_url":"https://api.github.com/users/shicks/following{/other_user}","gists_url":"https://api.github.com/users/shicks/gists{/gist_id}","starred_url":"https://api.github.com/users/shicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shicks/subscriptions","organizations_url":"https://api.github.com/users/shicks/orgs","repos_url":"https://api.github.com/users/shicks/repos","events_url":"https://api.github.com/users/shicks/events{/privacy}","received_events_url":"https://api.github.com/users/shicks/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T19:00:54Z","updated_at":"2015-09-28T19:00:54Z","body":"This doesn't actually work quite how you'd expect.  I opened https://github.com/google/closure-compiler/issues/1176 to address the underlying problem."}}