{"action":"created","issue":{"url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/22","repository_url":"https://api.github.com/repos/FluxML/Zygote.jl","labels_url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/22/comments","events_url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/22/events","html_url":"https://github.com/FluxML/Zygote.jl/issues/22","id":364824460,"node_id":"MDU6SXNzdWUzNjQ4MjQ0NjA=","number":22,"title":"Seems to be #265ing","user":{"login":"oxinabox","id":5127634,"node_id":"MDQ6VXNlcjUxMjc2MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5127634?v=4","gravatar_id":"","url":"https://api.github.com/users/oxinabox","html_url":"https://github.com/oxinabox","followers_url":"https://api.github.com/users/oxinabox/followers","following_url":"https://api.github.com/users/oxinabox/following{/other_user}","gists_url":"https://api.github.com/users/oxinabox/gists{/gist_id}","starred_url":"https://api.github.com/users/oxinabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxinabox/subscriptions","organizations_url":"https://api.github.com/users/oxinabox/orgs","repos_url":"https://api.github.com/users/oxinabox/repos","events_url":"https://api.github.com/users/oxinabox/events{/privacy}","received_events_url":"https://api.github.com/users/oxinabox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-28T10:06:19Z","updated_at":"2018-11-07T12:05:01Z","closed_at":null,"author_association":"NONE","body":"Maybe there is a catch that is not getting updated when a function is redefined?\r\n\r\n# Code:\r\n```\r\nusing Zygote;\r\ng(x) = 2x;\r\n@show g'(10);\r\ng(x) = 3x;\r\n@show g'(10);\r\n```\r\nExpected output is **2**, then **3**\r\nActual output is **2**, then **2** again.\r\n\r\n## Demo:\r\n\r\n```\r\njulia> using Zygote;\r\n\r\njulia> g(x) = 2x;\r\n\r\njulia> @show g'(10);\r\n(g')(10) = 2\r\n\r\njulia> g(x) = 3x;\r\n\r\njulia> @show g'(10);\r\n(g')(10) = 2\r\n```"},"comment":{"url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/comments/436601902","html_url":"https://github.com/FluxML/Zygote.jl/issues/22#issuecomment-436601902","issue_url":"https://api.github.com/repos/FluxML/Zygote.jl/issues/22","id":436601902,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjYwMTkwMg==","user":{"login":"oxinabox","id":5127634,"node_id":"MDQ6VXNlcjUxMjc2MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5127634?v=4","gravatar_id":"","url":"https://api.github.com/users/oxinabox","html_url":"https://github.com/oxinabox","followers_url":"https://api.github.com/users/oxinabox/followers","following_url":"https://api.github.com/users/oxinabox/following{/other_user}","gists_url":"https://api.github.com/users/oxinabox/gists{/gist_id}","starred_url":"https://api.github.com/users/oxinabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxinabox/subscriptions","organizations_url":"https://api.github.com/users/oxinabox/orgs","repos_url":"https://api.github.com/users/oxinabox/repos","events_url":"https://api.github.com/users/oxinabox/events{/privacy}","received_events_url":"https://api.github.com/users/oxinabox/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T12:05:01Z","updated_at":"2018-11-07T12:05:01Z","author_association":"NONE","body":"thoughts, on the code I posted before?\r\nI think it can be made sufficiently smart to solve this without a large cost overhead"}}
{"actor":{"display_login":"oxinabox"}}