{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon.language/issues/689","labels_url":"https://api.github.com/repos/ceylon/ceylon.language/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon.language/issues/689/comments","events_url":"https://api.github.com/repos/ceylon/ceylon.language/issues/689/events","html_url":"https://github.com/ceylon/ceylon.language/issues/689","id":80621572,"number":689,"title":"incorrect and inconsistent `ValueDeclaration.setter` on JVM & JS","user":{"login":"jvasileff","id":236050,"avatar_url":"https://avatars.githubusercontent.com/u/236050?v=3","gravatar_id":"","url":"https://api.github.com/users/jvasileff","html_url":"https://github.com/jvasileff","followers_url":"https://api.github.com/users/jvasileff/followers","following_url":"https://api.github.com/users/jvasileff/following{/other_user}","gists_url":"https://api.github.com/users/jvasileff/gists{/gist_id}","starred_url":"https://api.github.com/users/jvasileff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvasileff/subscriptions","organizations_url":"https://api.github.com/users/jvasileff/orgs","repos_url":"https://api.github.com/users/jvasileff/repos","events_url":"https://api.github.com/users/jvasileff/events{/privacy}","received_events_url":"https://api.github.com/users/jvasileff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon.language/labels/BUG","name":"BUG","color":"e10c02"},{"url":"https://api.github.com/repos/ceylon/ceylon.language/labels/JS%20runtime","name":"JS runtime","color":"0052cc"},{"url":"https://api.github.com/repos/ceylon/ceylon.language/labels/JVM%20runtime","name":"JVM runtime","color":"e102d8"},{"url":"https://api.github.com/repos/ceylon/ceylon.language/labels/Metamodel","name":"Metamodel","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon.language/milestones/10","html_url":"https://github.com/ceylon/ceylon.language/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon.language/milestones/10/labels","id":807571,"number":10,"title":"1.2","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":28,"closed_issues":94,"state":"open","created_at":"2014-09-30T00:35:13Z","updated_at":"2015-06-15T14:53:21Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-25T18:15:15Z","updated_at":"2015-06-15T15:39:44Z","closed_at":null,"body":"The docs for `ValueDeclaration.setter` state:\r\n\r\n> For modelling purposes variable reference values have a SetterDeclaration even though there is no such setter explicit in the source code.\r\n\r\nSo I would expect output of `false false true true` for:\r\n\r\n```ceylon\r\nshared class Model() {\r\n    shared String constantProperty = \"\";\r\n    shared String computedProperty => \"\";\r\n\r\n    shared variable String variableProperty = \"\";\r\n    shared String assignableComputedProperty => \"\";\r\n    assign assignableComputedProperty {}\r\n}\r\n\r\nshared void testAssignability() {\r\n    print(`Model.constantProperty`.declaration.setter exists);\r\n    print(`Model.computedProperty`.declaration.setter exists);\r\n\r\n    print(`Model.variableProperty`.declaration.setter exists);\r\n    print(`Model.assignableComputedProperty`.declaration.setter exists);    \r\n}\r\n```\r\n\r\nInstead, on the JVM, I get:\r\n```\r\nfalse\r\nfalse\r\nfalse\r\ntrue\r\n```\r\nand for JS:\r\n```\r\ntrue\r\ntrue\r\ntrue\r\ntrue\r\n```"},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon.language/issues/comments/112113689","html_url":"https://github.com/ceylon/ceylon.language/issues/689#issuecomment-112113689","issue_url":"https://api.github.com/repos/ceylon/ceylon.language/issues/689","id":112113689,"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-06-15T15:39:43Z","updated_at":"2015-06-15T15:39:43Z","body":"@tombentley any memory of this?"}}