{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/19282","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/19282/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/19282/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/19282/events","html_url":"https://github.com/JuliaLang/julia/issues/19282","id":188306700,"number":19282,"title":"Inferred type in tuple assignment doesn't match actual","user":{"login":"gaika","id":8535,"avatar_url":"https://avatars.githubusercontent.com/u/8535?v=3","gravatar_id":"","url":"https://api.github.com/users/gaika","html_url":"https://github.com/gaika","followers_url":"https://api.github.com/users/gaika/followers","following_url":"https://api.github.com/users/gaika/following{/other_user}","gists_url":"https://api.github.com/users/gaika/gists{/gist_id}","starred_url":"https://api.github.com/users/gaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaika/subscriptions","organizations_url":"https://api.github.com/users/gaika/orgs","repos_url":"https://api.github.com/users/gaika/repos","events_url":"https://api.github.com/users/gaika/events{/privacy}","received_events_url":"https://api.github.com/users/gaika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T17:33:56Z","updated_at":"2016-11-09T17:43:36Z","closed_at":null,"body":"```\r\nconst tup = (1.0, 2)\r\n\r\nfunction f()\r\n    a, b = tup\r\nend\r\n# warning about type instability:  \r\n# SSAValue(2) = (Base.getfield)(Main.v,1)::Union{Float64,Int64}\r\n@code_warntype f()\r\n\r\nfunction f2()\r\n    a = tup[1]\r\n    b = tup[2]\r\nend\r\n# no warning \r\n# a::Float64 = (Base.getfield)(Main.tup,1)::Float64\r\n@code_warntype f2()\r\n```\r\n\r\nThis is causing a significant performance regression"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/259476686","html_url":"https://github.com/JuliaLang/julia/issues/19282#issuecomment-259476686","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/19282","id":259476686,"user":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T17:43:36Z","updated_at":"2016-11-09T17:43:36Z","body":"```\r\njulia> @code_llvm f()\r\n\r\ndefine void @julia_f_71303({ double, i64 }* noalias sret) #0 {\r\ntop:\r\n  store { double, i64 } { double 1.000000e+00, i64 2 }, { double, i64 }* %0, align 8\r\n  ret void\r\n}\r\n```"}}
{"actor":{"display_login":"KristofferC"}}