{"action":"created","issue":{"url":"https://api.github.com/repos/cloudwu/skynet/issues/456","repository_url":"https://api.github.com/repos/cloudwu/skynet","labels_url":"https://api.github.com/repos/cloudwu/skynet/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/cloudwu/skynet/issues/456/comments","events_url":"https://api.github.com/repos/cloudwu/skynet/issues/456/events","html_url":"https://github.com/cloudwu/skynet/issues/456","id":135987088,"number":456,"title":"sharedata优化建议","user":{"login":"spin6lock","id":734304,"avatar_url":"https://avatars.githubusercontent.com/u/734304?v=3","gravatar_id":"","url":"https://api.github.com/users/spin6lock","html_url":"https://github.com/spin6lock","followers_url":"https://api.github.com/users/spin6lock/followers","following_url":"https://api.github.com/users/spin6lock/following{/other_user}","gists_url":"https://api.github.com/users/spin6lock/gists{/gist_id}","starred_url":"https://api.github.com/users/spin6lock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spin6lock/subscriptions","organizations_url":"https://api.github.com/users/spin6lock/orgs","repos_url":"https://api.github.com/users/spin6lock/repos","events_url":"https://api.github.com/users/spin6lock/events{/privacy}","received_events_url":"https://api.github.com/users/spin6lock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-24T07:57:28Z","updated_at":"2016-02-25T03:42:33Z","closed_at":null,"body":"https://github.com/cloudwu/skynet/blob/master/lualib/sharedata/corelib.lua#L74 这里assert一下key比较好，现在如果key为nil，会卡住不报错。"},"comment":{"url":"https://api.github.com/repos/cloudwu/skynet/issues/comments/188589714","html_url":"https://github.com/cloudwu/skynet/issues/456#issuecomment-188589714","issue_url":"https://api.github.com/repos/cloudwu/skynet/issues/456","id":188589714,"user":{"login":"firedtoad","id":1435686,"avatar_url":"https://avatars.githubusercontent.com/u/1435686?v=3","gravatar_id":"","url":"https://api.github.com/users/firedtoad","html_url":"https://github.com/firedtoad","followers_url":"https://api.github.com/users/firedtoad/followers","following_url":"https://api.github.com/users/firedtoad/following{/other_user}","gists_url":"https://api.github.com/users/firedtoad/gists{/gist_id}","starred_url":"https://api.github.com/users/firedtoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firedtoad/subscriptions","organizations_url":"https://api.github.com/users/firedtoad/orgs","repos_url":"https://api.github.com/users/firedtoad/repos","events_url":"https://api.github.com/users/firedtoad/events{/privacy}","received_events_url":"https://api.github.com/users/firedtoad/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T03:42:33Z","updated_at":"2016-02-25T03:42:33Z","body":"local tx={}\nprint(tx[nil])\n访问不会报错\n\n2016-02-25 11:40 GMT+08:00 云风 <notifications@github.com>:\n\n> 我试了一下, key 为 nil 会抛 error\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/cloudwu/skynet/issues/456#issuecomment-188589309>.\n>\n"}}