{"action":"created","comment":{"url":"https://api.github.com/repos/google/grinder.dart/pulls/comments/32057671","id":32057671,"diff_hunk":"@@ -147,6 +148,40 @@ main() {\n     });\n   });\n \n+  group('execute returns value', () {\n+    grinderTest('task from method', () {}, (MockGrinderContext ctx) {\n+      var annotated =\n+          discoveryGood.discoverDeclaration(goodLib.declarations[#method], {});\n+      var task = annotated.task;\n+      expect(task.name, 'method');","path":"test/src/discover_tasks_test.dart","position":17,"original_position":17,"commit_id":"d94d67897adfb94d71d007fde519b18b0c340dd8","original_commit_id":"d94d67897adfb94d71d007fde519b18b0c340dd8","user":{"login":"seaneagan","id":444270,"avatar_url":"https://avatars.githubusercontent.com/u/444270?v=3","gravatar_id":"","url":"https://api.github.com/users/seaneagan","html_url":"https://github.com/seaneagan","followers_url":"https://api.github.com/users/seaneagan/followers","following_url":"https://api.github.com/users/seaneagan/following{/other_user}","gists_url":"https://api.github.com/users/seaneagan/gists{/gist_id}","starred_url":"https://api.github.com/users/seaneagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaneagan/subscriptions","organizations_url":"https://api.github.com/users/seaneagan/orgs","repos_url":"https://api.github.com/users/seaneagan/repos","events_url":"https://api.github.com/users/seaneagan/events{/privacy}","received_events_url":"https://api.github.com/users/seaneagan/received_events","type":"User","site_admin":false},"body":"There are already tests for the names of discovered tasks, so can we remove those here?","created_at":"2015-06-09T20:10:08Z","updated_at":"2015-06-09T20:10:08Z","html_url":"https://github.com/google/grinder.dart/pull/268#discussion_r32057671","pull_request_url":"https://api.github.com/repos/google/grinder.dart/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/comments/32057671"},"html":{"href":"https://github.com/google/grinder.dart/pull/268#discussion_r32057671"},"pull_request":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/google/grinder.dart/pulls/268","id":37290947,"html_url":"https://github.com/google/grinder.dart/pull/268","diff_url":"https://github.com/google/grinder.dart/pull/268.diff","patch_url":"https://github.com/google/grinder.dart/pull/268.patch","issue_url":"https://api.github.com/repos/google/grinder.dart/issues/268","number":268,"state":"open","locked":false,"title":"- #265 return value instead of InstanceMirror","user":{"login":"zoechi","id":405837,"avatar_url":"https://avatars.githubusercontent.com/u/405837?v=3","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"body":"- fix #265\r\n- add tests","created_at":"2015-06-09T19:39:51Z","updated_at":"2015-06-09T20:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4d21323bc79effdf74b9c59e29da7a63d924682","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/grinder.dart/pulls/268/commits","review_comments_url":"https://api.github.com/repos/google/grinder.dart/pulls/268/comments","review_comment_url":"https://api.github.com/repos/google/grinder.dart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/grinder.dart/issues/268/comments","statuses_url":"https://api.github.com/repos/google/grinder.dart/statuses/d94d67897adfb94d71d007fde519b18b0c340dd8","head":{"label":"bwu-dart-contributing:issue265","ref":"issue265","sha":"d94d67897adfb94d71d007fde519b18b0c340dd8","user":{"login":"bwu-dart-contributing","id":12327325,"avatar_url":"https://avatars.githubusercontent.com/u/12327325?v=3","gravatar_id":"","url":"https://api.github.com/users/bwu-dart-contributing","html_url":"https://github.com/bwu-dart-contributing","followers_url":"https://api.github.com/users/bwu-dart-contributing/followers","following_url":"https://api.github.com/users/bwu-dart-contributing/following{/other_user}","gists_url":"https://api.github.com/users/bwu-dart-contributing/gists{/gist_id}","starred_url":"https://api.github.com/users/bwu-dart-contributing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwu-dart-contributing/subscriptions","organizations_url":"https://api.github.com/users/bwu-dart-contributing/orgs","repos_url":"https://api.github.com/users/bwu-dart-contributing/repos","events_url":"https://api.github.com/users/bwu-dart-contributing/events{/privacy}","received_events_url":"https://api.github.com/users/bwu-dart-contributing/received_events","type":"Organization","site_admin":false},"repo":{"id":32320415,"name":"grinder.dart","full_name":"bwu-dart-contributing/grinder.dart","owner":{"login":"bwu-dart-contributing","id":12327325,"avatar_url":"https://avatars.githubusercontent.com/u/12327325?v=3","gravatar_id":"","url":"https://api.github.com/users/bwu-dart-contributing","html_url":"https://github.com/bwu-dart-contributing","followers_url":"https://api.github.com/users/bwu-dart-contributing/followers","following_url":"https://api.github.com/users/bwu-dart-contributing/following{/other_user}","gists_url":"https://api.github.com/users/bwu-dart-contributing/gists{/gist_id}","starred_url":"https://api.github.com/users/bwu-dart-contributing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwu-dart-contributing/subscriptions","organizations_url":"https://api.github.com/users/bwu-dart-contributing/orgs","repos_url":"https://api.github.com/users/bwu-dart-contributing/repos","events_url":"https://api.github.com/users/bwu-dart-contributing/events{/privacy}","received_events_url":"https://api.github.com/users/bwu-dart-contributing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bwu-dart-contributing/grinder.dart","description":"A task based, dependency aware build system","fork":true,"url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart","forks_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/forks","keys_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/teams","hooks_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/hooks","issue_events_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/issues/events{/number}","events_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/events","assignees_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/assignees{/user}","branches_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/branches{/branch}","tags_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/tags","blobs_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/git/refs{/sha}","trees_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/statuses/{sha}","languages_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/languages","stargazers_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/stargazers","contributors_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/contributors","subscribers_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/subscribers","subscription_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/subscription","commits_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/commits{/sha}","git_commits_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/git/commits{/sha}","comments_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/comments{/number}","issue_comment_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/issues/comments{/number}","contents_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/contents/{+path}","compare_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/merges","archive_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/downloads","issues_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/issues{/number}","pulls_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/pulls{/number}","milestones_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/milestones{/number}","notifications_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/labels{/name}","releases_url":"https://api.github.com/repos/bwu-dart-contributing/grinder.dart/releases{/id}","created_at":"2015-03-16T11:29:14Z","updated_at":"2015-05-08T16:56:24Z","pushed_at":"2015-06-09T19:37:44Z","git_url":"git://github.com/bwu-dart-contributing/grinder.dart.git","ssh_url":"git@github.com:bwu-dart-contributing/grinder.dart.git","clone_url":"https://github.com/bwu-dart-contributing/grinder.dart.git","svn_url":"https://github.com/bwu-dart-contributing/grinder.dart","homepage":"","size":914,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"03aa8d08ee97478236b490465764b77966f6194f","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":13248841,"name":"grinder.dart","full_name":"google/grinder.dart","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/grinder.dart","description":"Dart workflows, automated.","fork":false,"url":"https://api.github.com/repos/google/grinder.dart","forks_url":"https://api.github.com/repos/google/grinder.dart/forks","keys_url":"https://api.github.com/repos/google/grinder.dart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/grinder.dart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/grinder.dart/teams","hooks_url":"https://api.github.com/repos/google/grinder.dart/hooks","issue_events_url":"https://api.github.com/repos/google/grinder.dart/issues/events{/number}","events_url":"https://api.github.com/repos/google/grinder.dart/events","assignees_url":"https://api.github.com/repos/google/grinder.dart/assignees{/user}","branches_url":"https://api.github.com/repos/google/grinder.dart/branches{/branch}","tags_url":"https://api.github.com/repos/google/grinder.dart/tags","blobs_url":"https://api.github.com/repos/google/grinder.dart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/grinder.dart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/grinder.dart/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/grinder.dart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/grinder.dart/statuses/{sha}","languages_url":"https://api.github.com/repos/google/grinder.dart/languages","stargazers_url":"https://api.github.com/repos/google/grinder.dart/stargazers","contributors_url":"https://api.github.com/repos/google/grinder.dart/contributors","subscribers_url":"https://api.github.com/repos/google/grinder.dart/subscribers","subscription_url":"https://api.github.com/repos/google/grinder.dart/subscription","commits_url":"https://api.github.com/repos/google/grinder.dart/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/grinder.dart/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/grinder.dart/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/grinder.dart/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/grinder.dart/contents/{+path}","compare_url":"https://api.github.com/repos/google/grinder.dart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/grinder.dart/merges","archive_url":"https://api.github.com/repos/google/grinder.dart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/grinder.dart/downloads","issues_url":"https://api.github.com/repos/google/grinder.dart/issues{/number}","pulls_url":"https://api.github.com/repos/google/grinder.dart/pulls{/number}","milestones_url":"https://api.github.com/repos/google/grinder.dart/milestones{/number}","notifications_url":"https://api.github.com/repos/google/grinder.dart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/grinder.dart/labels{/name}","releases_url":"https://api.github.com/repos/google/grinder.dart/releases{/id}","created_at":"2013-10-01T16:14:32Z","updated_at":"2015-06-08T10:28:27Z","pushed_at":"2015-06-09T19:39:51Z","git_url":"git://github.com/google/grinder.dart.git","ssh_url":"git@github.com:google/grinder.dart.git","clone_url":"https://github.com/google/grinder.dart.git","svn_url":"https://github.com/google/grinder.dart","homepage":"","size":2178,"stargazers_count":64,"watchers_count":64,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":41,"forks":16,"open_issues":41,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/268"},"html":{"href":"https://github.com/google/grinder.dart/pull/268"},"issue":{"href":"https://api.github.com/repos/google/grinder.dart/issues/268"},"comments":{"href":"https://api.github.com/repos/google/grinder.dart/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/grinder.dart/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/google/grinder.dart/statuses/d94d67897adfb94d71d007fde519b18b0c340dd8"}}}}