{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/81","labels_url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/81/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/81/events","html_url":"https://github.com/ceylon/ceylon-runtime/issues/81","id":110669043,"number":81,"title":"function called do() will not run in JVM","user":{"login":"lukedegruchy","id":4969007,"avatar_url":"https://avatars.githubusercontent.com/u/4969007?v=3","gravatar_id":"","url":"https://api.github.com/users/lukedegruchy","html_url":"https://github.com/lukedegruchy","followers_url":"https://api.github.com/users/lukedegruchy/followers","following_url":"https://api.github.com/users/lukedegruchy/following{/other_user}","gists_url":"https://api.github.com/users/lukedegruchy/gists{/gist_id}","starred_url":"https://api.github.com/users/lukedegruchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukedegruchy/subscriptions","organizations_url":"https://api.github.com/users/lukedegruchy/orgs","repos_url":"https://api.github.com/users/lukedegruchy/repos","events_url":"https://api.github.com/users/lukedegruchy/events{/privacy}","received_events_url":"https://api.github.com/users/lukedegruchy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-runtime/labels/BUG","name":"BUG","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-runtime/milestones/11","html_url":"https://github.com/ceylon/ceylon-runtime/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-runtime/milestones/11/labels","id":826117,"number":11,"title":"1.2","description":"","creator":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2014-10-14T17:51:47Z","updated_at":"2015-10-09T14:23:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-09T14:22:53Z","updated_at":"2015-10-09T14:36:13Z","closed_at":null,"body":"Create the following top-level function:\r\n\r\n```ceylon\r\nshared void do() {\r\n    print(\"done!\");\r\n}\r\n```\r\n\r\nCompile it and run it on the JVM.\r\n\r\n```\r\nceylon run: Could not find toplevel function '$do'.\r\n```\r\n\r\nThis definitely happens both in the IDE and the command-line using the JVM.\r\n\r\nIt's not clear if this affects the JavaScript runtime since in the IDE running this as JavaScript seemed to work but it wasn't clear when running from the command.\r\n\r\nEdit:  I've ruled out the JavaScript runtime because I wasn't using the command-line properly before.  This affects only the JVM."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/comments/146890182","html_url":"https://github.com/ceylon/ceylon-runtime/issues/81#issuecomment-146890182","issue_url":"https://api.github.com/repos/ceylon/ceylon-runtime/issues/81","id":146890182,"user":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T14:36:13Z","updated_at":"2015-10-09T14:36:13Z","body":"Caused by https://github.com/ceylon/ceylon-runtime/commit/3dc68558be9b8457a174c3a03b00c52ae2a10c84 where we need to quote the package parts but not the class part."}}