{"action":"opened","issue":{"url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/175","repository_url":"https://api.github.com/repos/mcoblenz/Obsidian","labels_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/175/comments","events_url":"https://api.github.com/repos/mcoblenz/Obsidian/issues/175/events","html_url":"https://github.com/mcoblenz/Obsidian/issues/175","id":346158923,"node_id":"MDU6SXNzdWUzNDYxNTg5MjM=","number":175,"title":"Don't transfer ownership to unowned references","user":{"login":"pkoronkevich","id":28601513,"node_id":"MDQ6VXNlcjI4NjAxNTEz","avatar_url":"https://avatars1.githubusercontent.com/u/28601513?v=4","gravatar_id":"","url":"https://api.github.com/users/pkoronkevich","html_url":"https://github.com/pkoronkevich","followers_url":"https://api.github.com/users/pkoronkevich/followers","following_url":"https://api.github.com/users/pkoronkevich/following{/other_user}","gists_url":"https://api.github.com/users/pkoronkevich/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoronkevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoronkevich/subscriptions","organizations_url":"https://api.github.com/users/pkoronkevich/orgs","repos_url":"https://api.github.com/users/pkoronkevich/repos","events_url":"https://api.github.com/users/pkoronkevich/events{/privacy}","received_events_url":"https://api.github.com/users/pkoronkevich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T12:07:56Z","updated_at":"2018-07-31T12:07:56Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Describe the bug**\r\nWhen creating an Unowned reference to an Owned reference, the Owned reference loses ownership\r\n\r\n**To Reproduce**\r\n```\r\nC@Owned ownedC = ... ;\r\nC@Unowned unownedC = ownedC; // ownedC loses ownership\r\n```\r\n**Expected behavior**\r\n`ownedC` should retain ownership, while `unownedC` remains an Unowned reference.\r\n\r\n"}}
{"actor":{"display_login":"pkoronkevich"}}