{"action":"opened","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1658","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1658/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1658/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1658/events","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/issues/1658","id":123135898,"number":1658,"title":"\"compiler bug: empty iterable literal with sequenced arguments\"","user":{"login":"lukehutch","id":811305,"avatar_url":"https://avatars.githubusercontent.com/u/811305?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehutch","html_url":"https://github.com/lukehutch","followers_url":"https://api.github.com/users/lukehutch/followers","following_url":"https://api.github.com/users/lukehutch/following{/other_user}","gists_url":"https://api.github.com/users/lukehutch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehutch/subscriptions","organizations_url":"https://api.github.com/users/lukehutch/orgs","repos_url":"https://api.github.com/users/lukehutch/repos","events_url":"https://api.github.com/users/lukehutch/events{/privacy}","received_events_url":"https://api.github.com/users/lukehutch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-20T05:54:37Z","updated_at":"2015-12-20T05:54:37Z","closed_at":null,"body":"> I'm trying to follow the Vert.x 3.2.0 docs for Ceylon here: http://vertx.io/docs/vertx-core/ceylon/ -- however, the examples don't seem to work. I have the following code:\r\n```\r\nimport io.vertx.ceylon.core {\r\n\tvertx_=vertx\r\n}\r\nimport io.vertx.ceylon.core.http {\r\n\tHttpServerRequest\r\n}\r\n\r\nshared void run() {\r\n\tvalue vertx = vertx_.vertx();\r\n\tvalue server = vertx.createHttpServer();\r\n\tserver.requestHandler((HttpServerRequest request) => {\r\n\t\t//...\r\n\t});\r\n\tserver.listen(8080);\r\n}\r\n```\r\nI get an error on the lambda expression, `Expression cannot be assigned`. I have no idea what this error message is, or why it is shown (suggestion: please report a more useful error message here!)\r\n\r\nI tried extracting the expression, in case it gave me a more useful error message:\r\n\r\n```\r\nshared void run() {\r\n\tvalue vertx = v_.vertx();\r\n\tvalue server = vertx.createHttpServer();\t\r\n\tvalue handler = (HttpServerRequest request) => {\r\n                //...\r\n\t};\r\n\tserver.requestHandler(handler);\r\n\tserver.listen(8080);\r\n}\r\n\r\nNow I get the following error:\r\n\r\n```\r\nCompiler bug: compiler bug: empty iterable literal with sequenced arguments: + { [SequenceEnumeration] (13:48-13:48) : {Nothing*}\r\n  |  +  [SequencedArgument]\r\n   at unknown\r\n```\r\n\r\n@sadmac7000 on Gitter suggested that `=>` and `{}` are usually an either-or proposition. So I removed the `=>`, and the code compiles fine. Nevertheless, even if the Vert.x docs are wrong, the above error message about a compiler bug should never be seen by the user! (And the earlier one was completely unhelpful.)\r\n\r\n"}}