{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/6422","repository_url":"https://api.github.com/repos/ceylon/ceylon","labels_url":"https://api.github.com/repos/ceylon/ceylon/issues/6422/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon/issues/6422/comments","events_url":"https://api.github.com/repos/ceylon/ceylon/issues/6422/events","html_url":"https://github.com/ceylon/ceylon/issues/6422","id":170998896,"number":6422,"title":"Android-only compiler bug","user":{"login":"marvelous","id":407928,"avatar_url":"https://avatars.githubusercontent.com/u/407928?v=3","gravatar_id":"","url":"https://api.github.com/users/marvelous","html_url":"https://github.com/marvelous","followers_url":"https://api.github.com/users/marvelous/followers","following_url":"https://api.github.com/users/marvelous/following{/other_user}","gists_url":"https://api.github.com/users/marvelous/gists{/gist_id}","starred_url":"https://api.github.com/users/marvelous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvelous/subscriptions","organizations_url":"https://api.github.com/users/marvelous/orgs","repos_url":"https://api.github.com/users/marvelous/repos","events_url":"https://api.github.com/users/marvelous/events{/privacy}","received_events_url":"https://api.github.com/users/marvelous/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon/labels/m-compiler-java","name":"m-compiler-java","color":"00aa00"},{"url":"https://api.github.com/repos/ceylon/ceylon/labels/os-android","name":"os-android","color":"207de5"},{"url":"https://api.github.com/repos/ceylon/ceylon/labels/t-bug","name":"t-bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon/milestones/15","html_url":"https://github.com/ceylon/ceylon/milestones/1.2.3","labels_url":"https://api.github.com/repos/ceylon/ceylon/milestones/15/labels","id":1590811,"number":15,"title":"1.2.3","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":32,"closed_issues":300,"state":"open","created_at":"2016-02-18T14:05:01Z","updated_at":"2016-08-24T14:12:24Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-13T08:06:17Z","updated_at":"2016-08-24T16:22:27Z","closed_at":null,"body":"Using nightly builds\r\n- https://ci-ceylon.rhcloud.com/job/ceylon-distribution/lastSuccessfulBuild/artifact/ceylon/dist/ceylon-1.2.3-945ea16-201608130218.zip\r\n- https://ci-ceylon.rhcloud.com/job/ceylon-sdk/253/artifact/modules/*zip*/modules.zip\r\n\r\nsrc/main/ceylon/com/example/ceylon/module.ceylon\r\n\r\n    native (\"jvm\")\r\n    module com.example.ceylon \"1\" {\r\n    \timport java.base \"8\";\r\n    }\r\n\r\nsrc/main/ceylon/com/example/ceylon/bug.ceylon\r\n\r\n    shared class MyClass() {}\r\n    shared void myFunction(MyClass argument) {\r\n    \tswitch (argument)\r\n    \tcase (is MyClass) {}\r\n    }\r\n\r\nbuild.gradle\r\n\r\n    buildscript {\r\n    \trepositories {\r\n    \t\tjcenter()\r\n    \t}\r\n    \tdependencies {\r\n    \t\tclasspath 'com.android.tools.build:gradle:2.1.0'\r\n    \t\tclasspath 'com.redhat.ceylon.gradle:android:0.0.5'\r\n    \t}\r\n    }\r\n    apply plugin: 'com.android.application'\r\n    apply plugin: 'com.athaydes.ceylon'\r\n    apply plugin: 'com.redhat.ceylon.gradle.android'\r\n    android {\r\n    \tcompileSdkVersion 24\r\n    \tbuildToolsVersion '24.0.1'\r\n    \tdefaultConfig {\r\n    \t\tapplicationId 'com.example.ceylon'\r\n    \t\tminSdkVersion 15\r\n    \t\ttargetSdkVersion 24\r\n    \t\tversionCode 1\r\n    \t\tversionName '1'\r\n    \t}\r\n    }\r\n    ceylon {\r\n    \tceylonLocation '/home/marv/prog/ceylon/ceylon-1.2.3/bin/ceylon'\r\n    \tmodule \"com.example.ceylon/1\"\r\n    }\r\n\r\nsrc/main/AndroidManifest.xml\r\n\r\n    <?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n    <manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    \tpackage=\"com.example.ceylon\">\r\n    \t<application />\r\n    </manifest>\r\n\r\n`gradle compileDebugSources` gives me:\r\n\r\n    error: compiler bug: null at com.redhat.ceylon.compiler.java.codegen.AbstractTransformer.isJavaEnumType(AbstractTransformer.java:2320)\r\n    1 error\r\n    Note: Created module com.example.ceylon/1\r\n    ceylon compile: There was 1 error\r\n    :compileDebugCeylonWithCeylonc FAILED\r\n\r\nThe same ceylon module compiles fine using `ceylon compile`"},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/comments/242125405","html_url":"https://github.com/ceylon/ceylon/issues/6422#issuecomment-242125405","issue_url":"https://api.github.com/repos/ceylon/ceylon/issues/6422","id":242125405,"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":"2016-08-24T16:22:27Z","updated_at":"2016-08-24T16:22:27Z","body":"I can reproduce."}}
{"actor":{"display_login":"FroMage"}}