{"action":"created","comment":{"url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments/44656264","id":44656264,"diff_hunk":"@@ -21,8 +21,20 @@ import math\n \n Text: cover {\n \t_buffer: TextBuffer\n-\tcount ::= this _buffer count\n-\tisEmpty ::= this count == 0\n+\tcount: Int {\n+\t\tget {\n+\t\t\tresult := this _buffer count\n+\t\t\tthis free(Owner Receiver)\n+\t\t\tresult\n+\t\t}\n+\t}","path":"source/base/Text.ooc","position":12,"original_position":12,"commit_id":"769adca048db0a71db7a327c0c1ffa3b1cef82e0","original_commit_id":"769adca048db0a71db7a327c0c1ffa3b1cef82e0","user":{"login":"davidhesselbom","id":4319680,"avatar_url":"https://avatars.githubusercontent.com/u/4319680?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhesselbom","html_url":"https://github.com/davidhesselbom","followers_url":"https://api.github.com/users/davidhesselbom/followers","following_url":"https://api.github.com/users/davidhesselbom/following{/other_user}","gists_url":"https://api.github.com/users/davidhesselbom/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhesselbom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhesselbom/subscriptions","organizations_url":"https://api.github.com/users/davidhesselbom/orgs","repos_url":"https://api.github.com/users/davidhesselbom/repos","events_url":"https://api.github.com/users/davidhesselbom/events{/privacy}","received_events_url":"https://api.github.com/users/davidhesselbom/received_events","type":"User","site_admin":false},"body":"```ooc\r\ncount ::= {\r\n    result := this _buffer count\r\n    this free(Owner Receiver)\r\n    result\r\n}\r\n```\r\nwould be cool too. I don't think that's supported in rock, but it shouldn't be too hard to make it possible, in that case.","created_at":"2015-11-12T13:30:07Z","updated_at":"2015-11-12T13:30:07Z","html_url":"https://github.com/cogneco/ooc-kean/pull/743#discussion_r44656264","pull_request_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743","_links":{"self":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments/44656264"},"html":{"href":"https://github.com/cogneco/ooc-kean/pull/743#discussion_r44656264"},"pull_request":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743"}}},"pull_request":{"url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743","id":50403693,"html_url":"https://github.com/cogneco/ooc-kean/pull/743","diff_url":"https://github.com/cogneco/ooc-kean/pull/743.diff","patch_url":"https://github.com/cogneco/ooc-kean/pull/743.patch","issue_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/743","number":743,"state":"open","locked":false,"title":"Make properties and unary operators free owned buffers.","user":{"login":"simonmika","id":1467077,"avatar_url":"https://avatars.githubusercontent.com/u/1467077?v=3","gravatar_id":"","url":"https://api.github.com/users/simonmika","html_url":"https://github.com/simonmika","followers_url":"https://api.github.com/users/simonmika/followers","following_url":"https://api.github.com/users/simonmika/following{/other_user}","gists_url":"https://api.github.com/users/simonmika/gists{/gist_id}","starred_url":"https://api.github.com/users/simonmika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonmika/subscriptions","organizations_url":"https://api.github.com/users/simonmika/orgs","repos_url":"https://api.github.com/users/simonmika/repos","events_url":"https://api.github.com/users/simonmika/events{/privacy}","received_events_url":"https://api.github.com/users/simonmika/received_events","type":"User","site_admin":false},"body":"Updates all users of `OwnedBuffer` so that method calls behave the same as properties and operators.","created_at":"2015-11-11T16:29:01Z","updated_at":"2015-11-12T13:30:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d50a72af956632c01b1c2c8e909ca3de112fef7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743/commits","review_comments_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743/comments","review_comment_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/743/comments","statuses_url":"https://api.github.com/repos/cogneco/ooc-kean/statuses/769adca048db0a71db7a327c0c1ffa3b1cef82e0","head":{"label":"simonmika:floatMatrixOwner","ref":"floatMatrixOwner","sha":"769adca048db0a71db7a327c0c1ffa3b1cef82e0","user":{"login":"simonmika","id":1467077,"avatar_url":"https://avatars.githubusercontent.com/u/1467077?v=3","gravatar_id":"","url":"https://api.github.com/users/simonmika","html_url":"https://github.com/simonmika","followers_url":"https://api.github.com/users/simonmika/followers","following_url":"https://api.github.com/users/simonmika/following{/other_user}","gists_url":"https://api.github.com/users/simonmika/gists{/gist_id}","starred_url":"https://api.github.com/users/simonmika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonmika/subscriptions","organizations_url":"https://api.github.com/users/simonmika/orgs","repos_url":"https://api.github.com/users/simonmika/repos","events_url":"https://api.github.com/users/simonmika/events{/privacy}","received_events_url":"https://api.github.com/users/simonmika/received_events","type":"User","site_admin":false},"repo":{"id":28077285,"name":"ooc-kean","full_name":"simonmika/ooc-kean","owner":{"login":"simonmika","id":1467077,"avatar_url":"https://avatars.githubusercontent.com/u/1467077?v=3","gravatar_id":"","url":"https://api.github.com/users/simonmika","html_url":"https://github.com/simonmika","followers_url":"https://api.github.com/users/simonmika/followers","following_url":"https://api.github.com/users/simonmika/following{/other_user}","gists_url":"https://api.github.com/users/simonmika/gists{/gist_id}","starred_url":"https://api.github.com/users/simonmika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonmika/subscriptions","organizations_url":"https://api.github.com/users/simonmika/orgs","repos_url":"https://api.github.com/users/simonmika/repos","events_url":"https://api.github.com/users/simonmika/events{/privacy}","received_events_url":"https://api.github.com/users/simonmika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonmika/ooc-kean","description":"OOC port of parts of Kean.","fork":true,"url":"https://api.github.com/repos/simonmika/ooc-kean","forks_url":"https://api.github.com/repos/simonmika/ooc-kean/forks","keys_url":"https://api.github.com/repos/simonmika/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonmika/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonmika/ooc-kean/teams","hooks_url":"https://api.github.com/repos/simonmika/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/simonmika/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/simonmika/ooc-kean/events","assignees_url":"https://api.github.com/repos/simonmika/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/simonmika/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/simonmika/ooc-kean/tags","blobs_url":"https://api.github.com/repos/simonmika/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonmika/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonmika/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonmika/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonmika/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/simonmika/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/simonmika/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/simonmika/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/simonmika/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/simonmika/ooc-kean/subscription","commits_url":"https://api.github.com/repos/simonmika/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonmika/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonmika/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonmika/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonmika/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/simonmika/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonmika/ooc-kean/merges","archive_url":"https://api.github.com/repos/simonmika/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonmika/ooc-kean/downloads","issues_url":"https://api.github.com/repos/simonmika/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/simonmika/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/simonmika/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/simonmika/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonmika/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/simonmika/ooc-kean/releases{/id}","created_at":"2014-12-16T08:18:51Z","updated_at":"2015-05-05T11:35:28Z","pushed_at":"2015-11-12T13:16:21Z","git_url":"git://github.com/simonmika/ooc-kean.git","ssh_url":"git@github.com:simonmika/ooc-kean.git","clone_url":"https://github.com/simonmika/ooc-kean.git","svn_url":"https://github.com/simonmika/ooc-kean","homepage":null,"size":27485,"stargazers_count":0,"watchers_count":0,"language":"ooc","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cogneco:master","ref":"master","sha":"ef2f3870121ab01a235f1ace6a9b4e40d9746970","user":{"login":"cogneco","id":3601419,"avatar_url":"https://avatars.githubusercontent.com/u/3601419?v=3","gravatar_id":"","url":"https://api.github.com/users/cogneco","html_url":"https://github.com/cogneco","followers_url":"https://api.github.com/users/cogneco/followers","following_url":"https://api.github.com/users/cogneco/following{/other_user}","gists_url":"https://api.github.com/users/cogneco/gists{/gist_id}","starred_url":"https://api.github.com/users/cogneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cogneco/subscriptions","organizations_url":"https://api.github.com/users/cogneco/orgs","repos_url":"https://api.github.com/users/cogneco/repos","events_url":"https://api.github.com/users/cogneco/events{/privacy}","received_events_url":"https://api.github.com/users/cogneco/received_events","type":"Organization","site_admin":false},"repo":{"id":25256330,"name":"ooc-kean","full_name":"cogneco/ooc-kean","owner":{"login":"cogneco","id":3601419,"avatar_url":"https://avatars.githubusercontent.com/u/3601419?v=3","gravatar_id":"","url":"https://api.github.com/users/cogneco","html_url":"https://github.com/cogneco","followers_url":"https://api.github.com/users/cogneco/followers","following_url":"https://api.github.com/users/cogneco/following{/other_user}","gists_url":"https://api.github.com/users/cogneco/gists{/gist_id}","starred_url":"https://api.github.com/users/cogneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cogneco/subscriptions","organizations_url":"https://api.github.com/users/cogneco/orgs","repos_url":"https://api.github.com/users/cogneco/repos","events_url":"https://api.github.com/users/cogneco/events{/privacy}","received_events_url":"https://api.github.com/users/cogneco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cogneco/ooc-kean","description":"ooc port of parts of Kean.","fork":false,"url":"https://api.github.com/repos/cogneco/ooc-kean","forks_url":"https://api.github.com/repos/cogneco/ooc-kean/forks","keys_url":"https://api.github.com/repos/cogneco/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cogneco/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cogneco/ooc-kean/teams","hooks_url":"https://api.github.com/repos/cogneco/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/cogneco/ooc-kean/events","assignees_url":"https://api.github.com/repos/cogneco/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/cogneco/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/cogneco/ooc-kean/tags","blobs_url":"https://api.github.com/repos/cogneco/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cogneco/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cogneco/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/cogneco/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cogneco/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/cogneco/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/cogneco/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/cogneco/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/cogneco/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/cogneco/ooc-kean/subscription","commits_url":"https://api.github.com/repos/cogneco/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/cogneco/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/cogneco/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/cogneco/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/cogneco/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cogneco/ooc-kean/merges","archive_url":"https://api.github.com/repos/cogneco/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cogneco/ooc-kean/downloads","issues_url":"https://api.github.com/repos/cogneco/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/cogneco/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/cogneco/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/cogneco/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cogneco/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/cogneco/ooc-kean/releases{/id}","created_at":"2014-10-15T13:42:17Z","updated_at":"2015-05-08T13:13:16Z","pushed_at":"2015-11-12T13:30:01Z","git_url":"git://github.com/cogneco/ooc-kean.git","ssh_url":"git@github.com:cogneco/ooc-kean.git","clone_url":"https://github.com/cogneco/ooc-kean.git","svn_url":"https://github.com/cogneco/ooc-kean","homepage":"","size":32808,"stargazers_count":3,"watchers_count":3,"language":"ooc","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":79,"forks":17,"open_issues":79,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743"},"html":{"href":"https://github.com/cogneco/ooc-kean/pull/743"},"issue":{"href":"https://api.github.com/repos/cogneco/ooc-kean/issues/743"},"comments":{"href":"https://api.github.com/repos/cogneco/ooc-kean/issues/743/comments"},"review_comments":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743/comments"},"review_comment":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cogneco/ooc-kean/pulls/743/commits"},"statuses":{"href":"https://api.github.com/repos/cogneco/ooc-kean/statuses/769adca048db0a71db7a327c0c1ffa3b1cef82e0"}}}}