{"action":"closed","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2363","labels_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2363/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2363/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2363/events","html_url":"https://github.com/ceylon/ceylon-compiler/issues/2363","id":111904475,"number":2363,"title":"Field used as constructor default value ","user":{"login":"sgalles","id":153065,"avatar_url":"https://avatars.githubusercontent.com/u/153065?v=3","gravatar_id":"","url":"https://api.github.com/users/sgalles","html_url":"https://github.com/sgalles","followers_url":"https://api.github.com/users/sgalles/followers","following_url":"https://api.github.com/users/sgalles/following{/other_user}","gists_url":"https://api.github.com/users/sgalles/gists{/gist_id}","starred_url":"https://api.github.com/users/sgalles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgalles/subscriptions","organizations_url":"https://api.github.com/users/sgalles/orgs","repos_url":"https://api.github.com/users/sgalles/repos","events_url":"https://api.github.com/users/sgalles/events{/privacy}","received_events_url":"https://api.github.com/users/sgalles/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-16T20:26:51Z","updated_at":"2015-10-16T20:43:16Z","closed_at":"2015-10-16T20:43:16Z","body":"```ceylon\r\nshared class Foo{\r\n\tInteger b = 1;\r\n\tshared new(Integer a = b){ // error\r\n\t\tprint(a);\r\n\t}\r\n}\r\n```\r\n```\r\nnon-static method getB$priv$() cannot be referenced from a static context\r\n```"}}