{"action":"closed","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9499","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9499/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9499/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/9499/events","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/9499","id":339208657,"node_id":"MDU6SXNzdWUzMzkyMDg2NTc=","number":9499,"title":"[Composer] Code execution stops on io:readln","user":{"login":"ThejanRupasinghe","id":14868763,"node_id":"MDQ6VXNlcjE0ODY4NzYz","avatar_url":"https://avatars1.githubusercontent.com/u/14868763?v=4","gravatar_id":"","url":"https://api.github.com/users/ThejanRupasinghe","html_url":"https://github.com/ThejanRupasinghe","followers_url":"https://api.github.com/users/ThejanRupasinghe/followers","following_url":"https://api.github.com/users/ThejanRupasinghe/following{/other_user}","gists_url":"https://api.github.com/users/ThejanRupasinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/ThejanRupasinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThejanRupasinghe/subscriptions","organizations_url":"https://api.github.com/users/ThejanRupasinghe/orgs","repos_url":"https://api.github.com/users/ThejanRupasinghe/repos","events_url":"https://api.github.com/users/ThejanRupasinghe/events{/privacy}","received_events_url":"https://api.github.com/users/ThejanRupasinghe/received_events","type":"User","site_admin":false},"labels":[{"id":828166405,"node_id":"MDU6TGFiZWw4MjgxNjY0MDU=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Component/Composer","name":"Component/Composer","color":"006b75","default":false},{"id":684576235,"node_id":"MDU6TGFiZWw2ODQ1NzYyMzU=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Type/Improvement","name":"Type/Improvement","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"rasika","id":1448489,"node_id":"MDQ6VXNlcjE0NDg0ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/1448489?v=4","gravatar_id":"","url":"https://api.github.com/users/rasika","html_url":"https://github.com/rasika","followers_url":"https://api.github.com/users/rasika/followers","following_url":"https://api.github.com/users/rasika/following{/other_user}","gists_url":"https://api.github.com/users/rasika/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika/subscriptions","organizations_url":"https://api.github.com/users/rasika/orgs","repos_url":"https://api.github.com/users/rasika/repos","events_url":"https://api.github.com/users/rasika/events{/privacy}","received_events_url":"https://api.github.com/users/rasika/received_events","type":"User","site_admin":false},"assignees":[{"login":"rasika","id":1448489,"node_id":"MDQ6VXNlcjE0NDg0ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/1448489?v=4","gravatar_id":"","url":"https://api.github.com/users/rasika","html_url":"https://github.com/rasika","followers_url":"https://api.github.com/users/rasika/followers","following_url":"https://api.github.com/users/rasika/following{/other_user}","gists_url":"https://api.github.com/users/rasika/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika/subscriptions","organizations_url":"https://api.github.com/users/rasika/orgs","repos_url":"https://api.github.com/users/rasika/repos","events_url":"https://api.github.com/users/rasika/events{/privacy}","received_events_url":"https://api.github.com/users/rasika/received_events","type":"User","site_admin":false},{"login":"pahans","id":1552869,"node_id":"MDQ6VXNlcjE1NTI4Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/1552869?v=4","gravatar_id":"","url":"https://api.github.com/users/pahans","html_url":"https://github.com/pahans","followers_url":"https://api.github.com/users/pahans/followers","following_url":"https://api.github.com/users/pahans/following{/other_user}","gists_url":"https://api.github.com/users/pahans/gists{/gist_id}","starred_url":"https://api.github.com/users/pahans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pahans/subscriptions","organizations_url":"https://api.github.com/users/pahans/orgs","repos_url":"https://api.github.com/users/pahans/repos","events_url":"https://api.github.com/users/pahans/events{/privacy}","received_events_url":"https://api.github.com/users/pahans/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-08T08:44:31Z","updated_at":"2018-07-18T06:07:50Z","closed_at":"2018-07-18T06:07:50Z","author_association":"NONE","body":"**Description:**\r\nWhen running a program which has a `io:readln` line, in the Composer the execution will get stopped on that line. The readline prompt will not get printed in the console and the program will not proceed further.\r\n\r\nIn execution\r\n![screenshot from 2018-07-08 14-00-47](https://user-images.githubusercontent.com/14868763/42418197-ce89d624-82b8-11e8-8932-e961342cf8ec.png)\r\n\r\nAfter the program is stopped\r\n![screenshot from 2018-07-08 14-00-30](https://user-images.githubusercontent.com/14868763/42418200-d63dba5c-82b8-11e8-9b89-778c15f4beb6.png)\r\n\r\n**Steps to reproduce:**\r\n1. Write a simple code including a `io:readline` call. eg: `string input = io:readln(\"Enter something: \");`\r\n2. Run in the Composer.\r\n\r\n**Affected Versions:**\r\nBallerina 0.975.1\r\n\r\n**OS, DB, other environment details and versions:**\r\nBrowser: Mozilla Firefox - 61.0 (64-bit)\r\n\r\n**Suggested Labels:**\r\nComponent/Composer\r\nImprovement\r\nbug\r\n"}}
{"actor":{"display_login":"rasika"}}