{"action":"created","issue":{"url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/116","repository_url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua","labels_url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/116/comments","events_url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/116/events","html_url":"https://github.com/EmmyLua/IntelliJ-EmmyLua/issues/116","id":302711657,"node_id":"MDU6SXNzdWUzMDI3MTE2NTc=","number":116,"title":"Varargs with EmmyLua doc","user":{"login":"MinusKube","id":13206601,"node_id":"MDQ6VXNlcjEzMjA2NjAx","avatar_url":"https://avatars2.githubusercontent.com/u/13206601?v=4","gravatar_id":"","url":"https://api.github.com/users/MinusKube","html_url":"https://github.com/MinusKube","followers_url":"https://api.github.com/users/MinusKube/followers","following_url":"https://api.github.com/users/MinusKube/following{/other_user}","gists_url":"https://api.github.com/users/MinusKube/gists{/gist_id}","starred_url":"https://api.github.com/users/MinusKube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinusKube/subscriptions","organizations_url":"https://api.github.com/users/MinusKube/orgs","repos_url":"https://api.github.com/users/MinusKube/repos","events_url":"https://api.github.com/users/MinusKube/events{/privacy}","received_events_url":"https://api.github.com/users/MinusKube/received_events","type":"User","site_admin":false},"labels":[{"id":521044727,"node_id":"MDU6TGFiZWw1MjEwNDQ3Mjc=","url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T13:59:54Z","updated_at":"2018-10-29T10:12:11Z","closed_at":"2018-10-29T10:09:52Z","author_association":"NONE","body":"Is it possible to use varargs inside the @param with the EmmyLua doc?\r\nI tried to do\r\n```java\r\n---@param ... number[]\r\nfunction method(...)\r\n  local test = select(1, ...)\r\nend\r\n```\r\nand\r\n```java\r\n---@param ... number...\r\nfunction method(...)\r\n  local test = select(1, ...)\r\nend\r\n```\r\n\r\nBut none works correctly, and the `test` variable is never recognized as a number."},"comment":{"url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/comments/433855416","html_url":"https://github.com/EmmyLua/IntelliJ-EmmyLua/issues/116#issuecomment-433855416","issue_url":"https://api.github.com/repos/EmmyLua/IntelliJ-EmmyLua/issues/116","id":433855416,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzg1NTQxNg==","user":{"login":"tangzx","id":3354360,"node_id":"MDQ6VXNlcjMzNTQzNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/3354360?v=4","gravatar_id":"","url":"https://api.github.com/users/tangzx","html_url":"https://github.com/tangzx","followers_url":"https://api.github.com/users/tangzx/followers","following_url":"https://api.github.com/users/tangzx/following{/other_user}","gists_url":"https://api.github.com/users/tangzx/gists{/gist_id}","starred_url":"https://api.github.com/users/tangzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangzx/subscriptions","organizations_url":"https://api.github.com/users/tangzx/orgs","repos_url":"https://api.github.com/users/tangzx/repos","events_url":"https://api.github.com/users/tangzx/events{/privacy}","received_events_url":"https://api.github.com/users/tangzx/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T10:12:11Z","updated_at":"2018-10-29T10:12:11Z","author_association":"COLLABORATOR","body":"add new annotation: `@vararg`\r\nusage: \r\n```lua\r\n---@vararg number\r\nlocal function method(...)\r\n    local test = select(1, ...)\r\nend\r\n```\r\n"}}
{"actor":{"display_login":"tangzx"}}