{"action":"created","issue":{"url":"https://api.github.com/repos/Michael2109/cobalt/issues/439","repository_url":"https://api.github.com/repos/Michael2109/cobalt","labels_url":"https://api.github.com/repos/Michael2109/cobalt/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/Michael2109/cobalt/issues/439/comments","events_url":"https://api.github.com/repos/Michael2109/cobalt/issues/439/events","html_url":"https://github.com/Michael2109/cobalt/issues/439","id":314322072,"number":439,"title":"Update modifiers for methods and value/variables","user":{"login":"Michael2109","id":13019455,"avatar_url":"https://avatars2.githubusercontent.com/u/13019455?v=4","gravatar_id":"","url":"https://api.github.com/users/Michael2109","html_url":"https://github.com/Michael2109","followers_url":"https://api.github.com/users/Michael2109/followers","following_url":"https://api.github.com/users/Michael2109/following{/other_user}","gists_url":"https://api.github.com/users/Michael2109/gists{/gist_id}","starred_url":"https://api.github.com/users/Michael2109/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michael2109/subscriptions","organizations_url":"https://api.github.com/users/Michael2109/orgs","repos_url":"https://api.github.com/users/Michael2109/repos","events_url":"https://api.github.com/users/Michael2109/events{/privacy}","received_events_url":"https://api.github.com/users/Michael2109/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-14T11:34:12Z","updated_at":"2018-05-01T19:44:06Z","closed_at":null,"author_association":"OWNER","body":"Instead of `public` we should use `member`. \r\n\r\n```\r\n  # Modifiers (Methods and values are private by default)\r\n  member publicValue: String = \"This is a public value\"\r\n  member publicMethod(): String = \"This is a public method\"\r\n```\r\n\r\n- [ ] Parser\r\n- [ ] Tests\r\n- [ ] Update documentation"},"comment":{"url":"https://api.github.com/repos/Michael2109/cobalt/issues/comments/385768883","html_url":"https://github.com/Michael2109/cobalt/issues/439#issuecomment-385768883","issue_url":"https://api.github.com/repos/Michael2109/cobalt/issues/439","id":385768883,"user":{"login":"Michael2109","id":13019455,"avatar_url":"https://avatars2.githubusercontent.com/u/13019455?v=4","gravatar_id":"","url":"https://api.github.com/users/Michael2109","html_url":"https://github.com/Michael2109","followers_url":"https://api.github.com/users/Michael2109/followers","following_url":"https://api.github.com/users/Michael2109/following{/other_user}","gists_url":"https://api.github.com/users/Michael2109/gists{/gist_id}","starred_url":"https://api.github.com/users/Michael2109/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michael2109/subscriptions","organizations_url":"https://api.github.com/users/Michael2109/orgs","repos_url":"https://api.github.com/users/Michael2109/repos","events_url":"https://api.github.com/users/Michael2109/events{/privacy}","received_events_url":"https://api.github.com/users/Michael2109/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T19:44:06Z","updated_at":"2018-05-01T19:44:06Z","author_association":"OWNER","body":"I feel okay with using this overall. Member makes it stand out more that it is accessible from outside of the class. Would be great if there was a different way of doing this though as in some ways it might be best to not use `member` and instead just use `let`. \r\n```\r\n# Private\r\nlet value: String = \"This is a private value\"\r\nlet method(): String = \"This is a private method\"\r\n\r\n# Package Local\r\nlocal member value: String = \"This is a package local value\"\r\nlocal member method(): String = \"This is a package local method\"\r\n\r\n# Protected\r\nprotected member value: String = \"This is a protected value\"\r\nprotected member method(): String = \"This is a protected method\"\r\n\r\n# Public\r\nmember value: String = \"This is a public value\"\r\nmember value(): String = \"This is a public method\"\r\n```"}}
{"actor":{"display_login":"Michael2109"}}