{"action":"created","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9971","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9971/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9971/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9971/events","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/9971","id":348858445,"node_id":"MDU6SXNzdWUzNDg4NTg0NDU=","number":9971,"title":"Intellij idea's false negative error warning","user":{"login":"raj-rajaratnam","id":4526877,"node_id":"MDQ6VXNlcjQ1MjY4Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/4526877?v=4","gravatar_id":"","url":"https://api.github.com/users/raj-rajaratnam","html_url":"https://github.com/raj-rajaratnam","followers_url":"https://api.github.com/users/raj-rajaratnam/followers","following_url":"https://api.github.com/users/raj-rajaratnam/following{/other_user}","gists_url":"https://api.github.com/users/raj-rajaratnam/gists{/gist_id}","starred_url":"https://api.github.com/users/raj-rajaratnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raj-rajaratnam/subscriptions","organizations_url":"https://api.github.com/users/raj-rajaratnam/orgs","repos_url":"https://api.github.com/users/raj-rajaratnam/repos","events_url":"https://api.github.com/users/raj-rajaratnam/events{/privacy}","received_events_url":"https://api.github.com/users/raj-rajaratnam/received_events","type":"User","site_admin":false},"labels":[{"id":836896837,"node_id":"MDU6TGFiZWw4MzY4OTY4Mzc=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Component/intellij%20plugin","name":"Component/intellij plugin","color":"006b75","default":false},{"id":684576167,"node_id":"MDU6TGFiZWw2ODQ1NzYxNjc=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Type/Bug","name":"Type/Bug","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"NipunaRanasinghe","id":29032600,"node_id":"MDQ6VXNlcjI5MDMyNjAw","avatar_url":"https://avatars0.githubusercontent.com/u/29032600?v=4","gravatar_id":"","url":"https://api.github.com/users/NipunaRanasinghe","html_url":"https://github.com/NipunaRanasinghe","followers_url":"https://api.github.com/users/NipunaRanasinghe/followers","following_url":"https://api.github.com/users/NipunaRanasinghe/following{/other_user}","gists_url":"https://api.github.com/users/NipunaRanasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/NipunaRanasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NipunaRanasinghe/subscriptions","organizations_url":"https://api.github.com/users/NipunaRanasinghe/orgs","repos_url":"https://api.github.com/users/NipunaRanasinghe/repos","events_url":"https://api.github.com/users/NipunaRanasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/NipunaRanasinghe/received_events","type":"User","site_admin":false},"assignees":[{"login":"NipunaRanasinghe","id":29032600,"node_id":"MDQ6VXNlcjI5MDMyNjAw","avatar_url":"https://avatars0.githubusercontent.com/u/29032600?v=4","gravatar_id":"","url":"https://api.github.com/users/NipunaRanasinghe","html_url":"https://github.com/NipunaRanasinghe","followers_url":"https://api.github.com/users/NipunaRanasinghe/followers","following_url":"https://api.github.com/users/NipunaRanasinghe/following{/other_user}","gists_url":"https://api.github.com/users/NipunaRanasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/NipunaRanasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NipunaRanasinghe/subscriptions","organizations_url":"https://api.github.com/users/NipunaRanasinghe/orgs","repos_url":"https://api.github.com/users/NipunaRanasinghe/repos","events_url":"https://api.github.com/users/NipunaRanasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/NipunaRanasinghe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-08T19:21:44Z","updated_at":"2018-08-10T11:07:55Z","closed_at":null,"author_association":"NONE","body":"**Description:**\r\nThe following code is correct and works fine, but idea displays an error warning. \r\n\r\n```\r\n    int end = math:randomInRange(1,5);\r\n\r\n    foreach i in 1 ... end {\r\n        io:println(i);\r\n    }\r\n```\r\n\r\n![intellij-b7a](https://user-images.githubusercontent.com/4526877/43859361-02459c94-9b16-11e8-8e27-ee898db720f3.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments/412051748","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/9971#issuecomment-412051748","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9971","id":412051748,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjA1MTc0OA==","user":{"login":"NipunaRanasinghe","id":29032600,"node_id":"MDQ6VXNlcjI5MDMyNjAw","avatar_url":"https://avatars0.githubusercontent.com/u/29032600?v=4","gravatar_id":"","url":"https://api.github.com/users/NipunaRanasinghe","html_url":"https://github.com/NipunaRanasinghe","followers_url":"https://api.github.com/users/NipunaRanasinghe/followers","following_url":"https://api.github.com/users/NipunaRanasinghe/following{/other_user}","gists_url":"https://api.github.com/users/NipunaRanasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/NipunaRanasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NipunaRanasinghe/subscriptions","organizations_url":"https://api.github.com/users/NipunaRanasinghe/orgs","repos_url":"https://api.github.com/users/NipunaRanasinghe/repos","events_url":"https://api.github.com/users/NipunaRanasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/NipunaRanasinghe/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T11:07:55Z","updated_at":"2018-08-10T11:07:55Z","author_association":"CONTRIBUTOR","body":"I was able to reproduce the issue and have started working on fixing it"}}
{"actor":{"display_login":"NipunaRanasinghe"}}