{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/linter/issues/145","labels_url":"https://api.github.com/repos/dart-lang/linter/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/linter/issues/145/comments","events_url":"https://api.github.com/repos/dart-lang/linter/issues/145/events","html_url":"https://github.com/dart-lang/linter/issues/145","id":114265758,"number":145,"title":"Never use `as`.","user":{"login":"pq","id":67586,"avatar_url":"https://avatars.githubusercontent.com/u/67586?v=3","gravatar_id":"","url":"https://api.github.com/users/pq","html_url":"https://github.com/pq","followers_url":"https://api.github.com/users/pq/followers","following_url":"https://api.github.com/users/pq/following{/other_user}","gists_url":"https://api.github.com/users/pq/gists{/gist_id}","starred_url":"https://api.github.com/users/pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pq/subscriptions","organizations_url":"https://api.github.com/users/pq/orgs","repos_url":"https://api.github.com/users/pq/repos","events_url":"https://api.github.com/users/pq/events{/privacy}","received_events_url":"https://api.github.com/users/pq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/linter/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/linter/labels/lint%20request","name":"lint request","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T13:06:04Z","updated_at":"2015-11-06T22:00:10Z","closed_at":null,"body":"As per #142."},"comment":{"url":"https://api.github.com/repos/dart-lang/linter/issues/comments/154554927","html_url":"https://github.com/dart-lang/linter/issues/145#issuecomment-154554927","issue_url":"https://api.github.com/repos/dart-lang/linter/issues/145","id":154554927,"user":{"login":"Hixie","id":551196,"avatar_url":"https://avatars.githubusercontent.com/u/551196?v=3","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T22:00:10Z","updated_at":"2015-11-06T22:00:10Z","body":"The \"GOOD\" for that \"BAD\" would be more like:\r\n```dart\r\nPerson person = pm;\r\nperson.firstName = 'Seth';\r\n```\r\n\r\nThe \"BAD\" for that \"GOOD\" would be more like:\r\n```dart\r\ntry {\r\n   (pm as Person).firstName = 'Seth';\r\n} on CastError { }\r\n```"}}