{"action":"closed","issue":{"url":"https://api.github.com/repos/MikeInnes/MacroTools.jl/issues/54","repository_url":"https://api.github.com/repos/MikeInnes/MacroTools.jl","labels_url":"https://api.github.com/repos/MikeInnes/MacroTools.jl/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/MikeInnes/MacroTools.jl/issues/54/comments","events_url":"https://api.github.com/repos/MikeInnes/MacroTools.jl/issues/54/events","html_url":"https://github.com/MikeInnes/MacroTools.jl/issues/54","id":255912324,"number":54,"title":"UndefVarError splitarg julia v0.7","user":{"login":"BenLauwens","id":3951276,"avatar_url":"https://avatars0.githubusercontent.com/u/3951276?v=4","gravatar_id":"","url":"https://api.github.com/users/BenLauwens","html_url":"https://github.com/BenLauwens","followers_url":"https://api.github.com/users/BenLauwens/followers","following_url":"https://api.github.com/users/BenLauwens/following{/other_user}","gists_url":"https://api.github.com/users/BenLauwens/gists{/gist_id}","starred_url":"https://api.github.com/users/BenLauwens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenLauwens/subscriptions","organizations_url":"https://api.github.com/users/BenLauwens/orgs","repos_url":"https://api.github.com/users/BenLauwens/repos","events_url":"https://api.github.com/users/BenLauwens/events{/privacy}","received_events_url":"https://api.github.com/users/BenLauwens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-07T11:58:27Z","updated_at":"2017-10-27T07:46:42Z","closed_at":"2017-10-27T07:46:42Z","author_association":"NONE","body":"Hi\r\n\r\n`MacroTools.splitarg(arg)` returns an error in julia v0.7:\r\n\r\n```julia\r\njulia> arg=:(a::Int=0)\r\n:(a::Int = 0)\r\n\r\njulia> MacroTools.splitarg(arg)\r\nERROR: UndefVarError: name not defined\r\nStacktrace:\r\n [1] macro expansion at /Users/ben/.julia/v0.7/MacroTools/src/utils.jl:286 [inlined]\r\n [2] macro expansion at /Users/ben/.julia/v0.7/MacroTools/src/macro.jl:14 [inlined]\r\n [3] (::getfield(MacroTools, Symbol(\"#splitvar#28\")))(::Expr) at /Users/ben/.julia/v0.7/MacroTools/src/utils.jl:283\r\n [4] splitarg(::Expr) at /Users/ben/.julia/v0.7/MacroTools/src/utils.jl:292\r\n```"}}
{"actor":{"display_login":"BenLauwens"}}