{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/11080","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/11080/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/11080/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/11080/events","html_url":"https://github.com/dart-lang/sdk/issues/11080","id":84539467,"node_id":"MDU6SXNzdWU4NDUzOTQ2Nw==","number":11080,"title":"Analyzer fails to respect certain \"is\" checks","user":{"login":"nex3","id":188,"node_id":"MDQ6VXNlcjE4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/188?v=4","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"labels":[{"id":219928175,"node_id":"MDU6TGFiZWwyMTk5MjgxNzU=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-language","name":"area-language","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":{"login":"bwilkerson","id":5840555,"node_id":"MDQ6VXNlcjU4NDA1NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5840555?v=4","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwilkerson","id":5840555,"node_id":"MDQ6VXNlcjU4NDA1NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5840555?v=4","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dart-lang/sdk/milestones/28","html_url":"https://github.com/dart-lang/sdk/milestone/28","labels_url":"https://api.github.com/repos/dart-lang/sdk/milestones/28/labels","id":1146981,"node_id":"MDk6TWlsZXN0b25lMTE0Njk4MQ==","number":28,"title":"M6","description":null,"creator":{"login":"DartBot","id":8958862,"node_id":"MDQ6VXNlcjg5NTg4NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/8958862?v=4","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":393,"state":"closed","created_at":"2011-11-15T13:35:56Z","updated_at":"2018-06-25T05:35:30Z","due_on":null,"closed_at":"2015-06-03T19:09:40Z"},"comments":11,"created_at":"2013-06-04T21:31:49Z","updated_at":"2018-06-25T05:35:30Z","closed_at":"2018-06-25T05:35:30Z","author_association":"MEMBER","body":"Consider the following code:\n\n&nbsp;&nbsp;&nbsp;&nbsp;import &quot;dart:typed_data&quot;;\n\n&nbsp;&nbsp;&nbsp;&nbsp;void doIt(List list) {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (list is TypedData) print(list.buffer);\n&nbsp;&nbsp;&nbsp;&nbsp;}\n\nRunning the analyzer on this produces the following error:\n\n&nbsp;&nbsp;&nbsp;&nbsp;[warning] There is no such getter 'buffer' in 'List'\n\ndespite the fact that &quot;list&quot; must be an instance of TypedData in the &quot;if&quot; block, and TypedData defines a &quot;buffer&quot; getter.\n"}}
{"actor":{"display_login":"lrhn"}}