{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/initialize/pulls/comments/89130037","pull_request_review_id":9678736,"id":89130037,"diff_hunk":"@@ -383,7 +384,7 @@ $initializersBuffer\n   /// [lib]. This includes exported methods from other libraries too.\n   List<FunctionElement> _topLevelMethodsOfLibrary(\n       LibraryElement library, Set<LibraryElement> seen) {\n-    var methods = [];\n+    List<FunctionElement> methods = [];","path":"lib/transformer.dart","position":99,"original_position":99,"commit_id":"0d804e46a87d564f06e8561e468a344cc4f2c73d","original_commit_id":"0d804e46a87d564f06e8561e468a344cc4f2c73d","user":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars.githubusercontent.com/u/984921?v=3","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"body":"You should be able to just do `var methods = <FunctionElement>[]`, which is actually more correct in strong mode than this (which has an implicit cast from List<dynamic> to List<FunctionElement> afaik).","created_at":"2016-11-22T14:48:40Z","updated_at":"2016-11-22T14:48:40Z","html_url":"https://github.com/dart-lang/initialize/pull/47#discussion_r89130037","pull_request_url":"https://api.github.com/repos/dart-lang/initialize/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/comments/89130037"},"html":{"href":"https://github.com/dart-lang/initialize/pull/47#discussion_r89130037"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/initialize/pulls/47","id":80368998,"html_url":"https://github.com/dart-lang/initialize/pull/47","diff_url":"https://github.com/dart-lang/initialize/pull/47.diff","patch_url":"https://github.com/dart-lang/initialize/pull/47.patch","issue_url":"https://api.github.com/repos/dart-lang/initialize/issues/47","number":47,"state":"open","locked":false,"title":"fixed for strong mode","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-07T14:53:28Z","updated_at":"2016-11-22T14:48:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"260ddad25b086419573b34e3c58ab28c2fda1b75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/initialize/pulls/47/commits","review_comments_url":"https://api.github.com/repos/dart-lang/initialize/pulls/47/comments","review_comment_url":"https://api.github.com/repos/dart-lang/initialize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/initialize/issues/47/comments","statuses_url":"https://api.github.com/repos/dart-lang/initialize/statuses/0d804e46a87d564f06e8561e468a344cc4f2c73d","head":{"label":"dam0vm3nt:master","ref":"master","sha":"0d804e46a87d564f06e8561e468a344cc4f2c73d","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"repo":{"id":65137884,"name":"initialize","full_name":"dam0vm3nt/initialize","owner":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dam0vm3nt/initialize","description":"Provides a common interface for initialization annotations on top level methods, classes, and libraries in Dart","fork":true,"url":"https://api.github.com/repos/dam0vm3nt/initialize","forks_url":"https://api.github.com/repos/dam0vm3nt/initialize/forks","keys_url":"https://api.github.com/repos/dam0vm3nt/initialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dam0vm3nt/initialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dam0vm3nt/initialize/teams","hooks_url":"https://api.github.com/repos/dam0vm3nt/initialize/hooks","issue_events_url":"https://api.github.com/repos/dam0vm3nt/initialize/issues/events{/number}","events_url":"https://api.github.com/repos/dam0vm3nt/initialize/events","assignees_url":"https://api.github.com/repos/dam0vm3nt/initialize/assignees{/user}","branches_url":"https://api.github.com/repos/dam0vm3nt/initialize/branches{/branch}","tags_url":"https://api.github.com/repos/dam0vm3nt/initialize/tags","blobs_url":"https://api.github.com/repos/dam0vm3nt/initialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dam0vm3nt/initialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dam0vm3nt/initialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/dam0vm3nt/initialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dam0vm3nt/initialize/statuses/{sha}","languages_url":"https://api.github.com/repos/dam0vm3nt/initialize/languages","stargazers_url":"https://api.github.com/repos/dam0vm3nt/initialize/stargazers","contributors_url":"https://api.github.com/repos/dam0vm3nt/initialize/contributors","subscribers_url":"https://api.github.com/repos/dam0vm3nt/initialize/subscribers","subscription_url":"https://api.github.com/repos/dam0vm3nt/initialize/subscription","commits_url":"https://api.github.com/repos/dam0vm3nt/initialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/dam0vm3nt/initialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/dam0vm3nt/initialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/dam0vm3nt/initialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/dam0vm3nt/initialize/contents/{+path}","compare_url":"https://api.github.com/repos/dam0vm3nt/initialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dam0vm3nt/initialize/merges","archive_url":"https://api.github.com/repos/dam0vm3nt/initialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dam0vm3nt/initialize/downloads","issues_url":"https://api.github.com/repos/dam0vm3nt/initialize/issues{/number}","pulls_url":"https://api.github.com/repos/dam0vm3nt/initialize/pulls{/number}","milestones_url":"https://api.github.com/repos/dam0vm3nt/initialize/milestones{/number}","notifications_url":"https://api.github.com/repos/dam0vm3nt/initialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dam0vm3nt/initialize/labels{/name}","releases_url":"https://api.github.com/repos/dam0vm3nt/initialize/releases{/id}","deployments_url":"https://api.github.com/repos/dam0vm3nt/initialize/deployments","created_at":"2016-08-07T14:36:58Z","updated_at":"2016-08-07T14:37:00Z","pushed_at":"2016-11-22T09:16:32Z","git_url":"git://github.com/dam0vm3nt/initialize.git","ssh_url":"git@github.com:dam0vm3nt/initialize.git","clone_url":"https://github.com/dam0vm3nt/initialize.git","svn_url":"https://github.com/dam0vm3nt/initialize","homepage":"https://pub.dartlang.org/packages/initialize","size":183,"stargazers_count":0,"watchers_count":0,"language":"Dart","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":"dart-lang:master","ref":"master","sha":"ad9c7393f4ad63a3b27a60cb0b2bdacba53acf7c","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":28887171,"name":"initialize","full_name":"dart-lang/initialize","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/initialize","description":"Provides a common interface for initialization annotations on top level methods, classes, and libraries in Dart","fork":false,"url":"https://api.github.com/repos/dart-lang/initialize","forks_url":"https://api.github.com/repos/dart-lang/initialize/forks","keys_url":"https://api.github.com/repos/dart-lang/initialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/initialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/initialize/teams","hooks_url":"https://api.github.com/repos/dart-lang/initialize/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/initialize/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/initialize/events","assignees_url":"https://api.github.com/repos/dart-lang/initialize/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/initialize/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/initialize/tags","blobs_url":"https://api.github.com/repos/dart-lang/initialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/initialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/initialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/initialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/initialize/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/initialize/languages","stargazers_url":"https://api.github.com/repos/dart-lang/initialize/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/initialize/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/initialize/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/initialize/subscription","commits_url":"https://api.github.com/repos/dart-lang/initialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/initialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/initialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/initialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/initialize/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/initialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/initialize/merges","archive_url":"https://api.github.com/repos/dart-lang/initialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/initialize/downloads","issues_url":"https://api.github.com/repos/dart-lang/initialize/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/initialize/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/initialize/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/initialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/initialize/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/initialize/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/initialize/deployments","created_at":"2015-01-06T22:43:30Z","updated_at":"2016-11-21T20:20:19Z","pushed_at":"2016-11-22T09:16:32Z","git_url":"git://github.com/dart-lang/initialize.git","ssh_url":"git@github.com:dart-lang/initialize.git","clone_url":"https://github.com/dart-lang/initialize.git","svn_url":"https://github.com/dart-lang/initialize","homepage":"https://pub.dartlang.org/packages/initialize","size":229,"stargazers_count":4,"watchers_count":4,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/47"},"html":{"href":"https://github.com/dart-lang/initialize/pull/47"},"issue":{"href":"https://api.github.com/repos/dart-lang/initialize/issues/47"},"comments":{"href":"https://api.github.com/repos/dart-lang/initialize/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/initialize/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/initialize/statuses/0d804e46a87d564f06e8561e468a344cc4f2c73d"}}}}
{"actor":{"display_login":"jakemac53"}}