{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1652","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1652/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1652/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1652/events","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/issues/1652","id":122015479,"number":1652,"title":"\"Introduction to Ceylon modules\" needs to declare the module as native (or somehow else handle the broken import)","user":{"login":"ePaul","id":645859,"avatar_url":"https://avatars.githubusercontent.com/u/645859?v=3","gravatar_id":"","url":"https://api.github.com/users/ePaul","html_url":"https://github.com/ePaul","followers_url":"https://api.github.com/users/ePaul/followers","following_url":"https://api.github.com/users/ePaul/following{/other_user}","gists_url":"https://api.github.com/users/ePaul/gists{/gist_id}","starred_url":"https://api.github.com/users/ePaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ePaul/subscriptions","organizations_url":"https://api.github.com/users/ePaul/orgs","repos_url":"https://api.github.com/users/ePaul/repos","events_url":"https://api.github.com/users/ePaul/events{/privacy}","received_events_url":"https://api.github.com/users/ePaul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/labels/bug%20on%20last%20release","name":"bug on last release","color":"e11d21"},{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/labels/bug%20on%20master","name":"bug on master","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/milestones/12","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/milestones/1.2.1","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/milestones/12/labels","id":1387185,"number":12,"title":"1.2.1","description":"","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":18,"state":"open","created_at":"2015-11-01T10:01:29Z","updated_at":"2015-12-17T11:16:08Z","due_on":"2015-11-30T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-14T10:32:04Z","updated_at":"2015-12-17T11:21:30Z","closed_at":null,"body":"**Wrong behavior**\r\nI just installed Ceylon-IDE (1.2.0) on my work computer, and tried to go through the intros.\r\nFollowing \"Introduction to Ceylon Modules\" (which comes from [ModulesIntro.xml](https://github.com/ceylon/ceylon-ide-eclipse/blob/master/plugins/com.redhat.ceylon.eclipse.ui/intro/ModulesIntro.xml)) gives me this module.ceylon:\r\n\r\n```ceylon\r\nmodule org.zalando.ceylon_stups.helloWorld \"1.0.0\" {\r\n\timport ceylon.math \"1.2.0\";\r\n}\r\n```\r\nThe `ceylon.math` part is underlined red, due to a »Ceylon Module dependency Error«, with message »native import for cross-platform module (mark either the module or the import as native)«.\r\n\r\n**Expected behavior**\r\nWhen following a tutorial, valid code should be produced.\r\n\r\n**Proposal**\r\nIt looks like the module needs to be annotated `native(\"jvm\")`.\r\n\r\nThere should also be some explanation why this is necessary (and what its meaning is).\r\n\r\n-----\r\n\r\n[Related Issue #4561 in main Ceylon project](https://github.com/ceylon/ceylon/issues/4561)."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/comments/165428097","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/issues/1652#issuecomment-165428097","issue_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1652","id":165428097,"user":{"login":"ePaul","id":645859,"avatar_url":"https://avatars.githubusercontent.com/u/645859?v=3","gravatar_id":"","url":"https://api.github.com/users/ePaul","html_url":"https://github.com/ePaul","followers_url":"https://api.github.com/users/ePaul/followers","following_url":"https://api.github.com/users/ePaul/following{/other_user}","gists_url":"https://api.github.com/users/ePaul/gists{/gist_id}","starred_url":"https://api.github.com/users/ePaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ePaul/subscriptions","organizations_url":"https://api.github.com/users/ePaul/orgs","repos_url":"https://api.github.com/users/ePaul/repos","events_url":"https://api.github.com/users/ePaul/events{/privacy}","received_events_url":"https://api.github.com/users/ePaul/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T11:21:30Z","updated_at":"2015-12-17T11:21:30Z","body":"@gavinking Sounds good, I was not aware of that. Though I still think that also the `native` stuff should be explained somewhere."}}