{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/10984","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/10984/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/10984/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/10984/events","html_url":"https://github.com/JuliaLang/julia/pull/10984","id":70677967,"number":10984,"title":"Fix ambiguous method warning printing","user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T12:30:20Z","updated_at":"2015-04-24T12:36:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/10984","html_url":"https://github.com/JuliaLang/julia/pull/10984","diff_url":"https://github.com/JuliaLang/julia/pull/10984.diff","patch_url":"https://github.com/JuliaLang/julia/pull/10984.patch"},"body":"Warning printing before\r\n\r\n```julia\r\njulia> f(a::Any, b::Real) = 1\r\nf (generic function with 1 method)\r\n\r\njulia> f(a::Number, b::Any...) = 1\r\nWarning: New definition \r\n    fTuple{Number,Vararg{Any}} at none:1\r\nis ambiguous with: \r\n    fTuple{Any,Real} at none:1.\r\nTo fix, define \r\n    fTuple{Number,Real}\r\nbefore the new definition.\r\nf (generic function with 2 methods)\r\n```\r\n\r\nAfter\r\n```julia\r\njulia> f(a::Any, b::Real) = 1\r\nf (generic function with 1 method)\r\n\r\njulia> f(a::Number, b::Any...) = 1\r\nWarning: New definition \r\n    f(Number, Any...) at none:1\r\nis ambiguous with: \r\n    f(Any, Real) at none:1.\r\nTo fix, define \r\n    f(Number, Real)\r\nbefore the new definition.\r\nf (generic function with 2 methods)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/95919007","html_url":"https://github.com/JuliaLang/julia/pull/10984#issuecomment-95919007","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/10984","id":95919007,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T12:36:05Z","updated_at":"2015-04-24T12:36:05Z","body":"[julia-dev mailing list post](https://groups.google.com/forum/#!topic/julia-dev/iXOeLKQeLeo)"}}