{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/26334","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/26334/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/26334/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/26334/events","html_url":"https://github.com/dart-lang/sdk/issues/26334","id":151164728,"number":26334,"title":"\"Functions marked 'async' must have a return type assignable to 'Future'\"","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},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-strong-mode","name":"analyzer-strong-mode","color":"d4c5f9"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-26T15:24:44Z","updated_at":"2016-04-26T20:05:57Z","closed_at":null,"body":"Shouldn't `dynamic` work here?\r\n\r\n```dart\r\ndynamic main() async {\r\n  ...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/214869945","html_url":"https://github.com/dart-lang/sdk/issues/26334#issuecomment-214869945","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/26334","id":214869945,"user":{"login":"jmesserly","id":1081711,"avatar_url":"https://avatars.githubusercontent.com/u/1081711?v=3","gravatar_id":"","url":"https://api.github.com/users/jmesserly","html_url":"https://github.com/jmesserly","followers_url":"https://api.github.com/users/jmesserly/followers","following_url":"https://api.github.com/users/jmesserly/following{/other_user}","gists_url":"https://api.github.com/users/jmesserly/gists{/gist_id}","starred_url":"https://api.github.com/users/jmesserly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmesserly/subscriptions","organizations_url":"https://api.github.com/users/jmesserly/orgs","repos_url":"https://api.github.com/users/jmesserly/repos","events_url":"https://api.github.com/users/jmesserly/events{/privacy}","received_events_url":"https://api.github.com/users/jmesserly/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T20:05:57Z","updated_at":"2016-04-26T20:05:57Z","body":"@leafpetersen -- theoretically, no downside. From a practical standpoint, yes: we'll generate worse code for essentially no benefit. (Not to mention, someone has to make a CL, add tests, etc...)\r\n\r\nIt sounded like the underlying issue here was the `always_declare_return_types` linter rule forcing a (in this case, useless) return type declaration."}}