{"action":"opened","issue":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/6888","repository_url":"https://api.github.com/repos/ceylon/ceylon","labels_url":"https://api.github.com/repos/ceylon/ceylon/issues/6888/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon/issues/6888/comments","events_url":"https://api.github.com/repos/ceylon/ceylon/issues/6888/events","html_url":"https://github.com/ceylon/ceylon/issues/6888","id":202840625,"number":6888,"title":"disallow read+mutate operators on non-variable late reference values","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":[{"id":286512021,"url":"https://api.github.com/repos/ceylon/ceylon/labels/c-specification","name":"c-specification","color":"02d7e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-24T14:53:32Z","updated_at":"2017-01-24T14:53:32Z","closed_at":null,"body":"These are allowed, but can only result in runtime errors:\r\n\r\n```ceylon\r\nclass C() {\r\n    shared late Integer x = 10;\r\n    shared void init() {\r\n        x++;  // allowed!\r\n        x+=1; // allowed!\r\n    }\r\n}\r\n```\r\nI suggest that usage of increment and decrement operators and assignment operators other than `=` on non-variable reference values be disallowed."}}
{"actor":{"display_login":"jvasileff"}}