{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/26690","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/26690/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/26690/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/26690/events","html_url":"https://github.com/dart-lang/sdk/issues/26690","id":159834197,"number":26690,"title":"Async method returning a Generic Type crashes Dart process","user":{"login":"joeconwaystk","id":1576234,"avatar_url":"https://avatars.githubusercontent.com/u/1576234?v=3","gravatar_id":"","url":"https://api.github.com/users/joeconwaystk","html_url":"https://github.com/joeconwaystk","followers_url":"https://api.github.com/users/joeconwaystk/followers","following_url":"https://api.github.com/users/joeconwaystk/following{/other_user}","gists_url":"https://api.github.com/users/joeconwaystk/gists{/gist_id}","starred_url":"https://api.github.com/users/joeconwaystk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeconwaystk/subscriptions","organizations_url":"https://api.github.com/users/joeconwaystk/orgs","repos_url":"https://api.github.com/users/joeconwaystk/repos","events_url":"https://api.github.com/users/joeconwaystk/events{/privacy}","received_events_url":"https://api.github.com/users/joeconwaystk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-12T15:57:58Z","updated_at":"2016-06-12T16:06:26Z","closed_at":"2016-06-12T16:06:26Z","body":"This is on Dart 1.17. This is a regression, as it worked on 1.16.\r\n\r\nRunning this script:\r\n\r\n```\r\nimport 'dart:async';\r\n\r\nFuture main() async {\r\n  var y = new X<String>();\r\n  await y.f();\r\n}\r\n\r\nclass X<T> {\r\n  Future<T> f() async {\r\n    return null;\r\n  }\r\n}\r\n```\r\n\r\nWill always yield the following:\r\n```\r\nProcess finished with exit code 139 (interrupted by signal 11: SIGSEGV)\r\n```\r\n\r\nThis can be temporarily worked around by removing ```async``` from ```X.f``` and returning input as a ```Future.value```. This only impacts methods that return the generic type. \r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/225445440","html_url":"https://github.com/dart-lang/sdk/issues/26690#issuecomment-225445440","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/26690","id":225445440,"user":{"login":"joeconwaystk","id":1576234,"avatar_url":"https://avatars.githubusercontent.com/u/1576234?v=3","gravatar_id":"","url":"https://api.github.com/users/joeconwaystk","html_url":"https://github.com/joeconwaystk","followers_url":"https://api.github.com/users/joeconwaystk/followers","following_url":"https://api.github.com/users/joeconwaystk/following{/other_user}","gists_url":"https://api.github.com/users/joeconwaystk/gists{/gist_id}","starred_url":"https://api.github.com/users/joeconwaystk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeconwaystk/subscriptions","organizations_url":"https://api.github.com/users/joeconwaystk/orgs","repos_url":"https://api.github.com/users/joeconwaystk/repos","events_url":"https://api.github.com/users/joeconwaystk/events{/privacy}","received_events_url":"https://api.github.com/users/joeconwaystk/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T16:06:26Z","updated_at":"2016-06-12T16:06:26Z","body":"Closing as I can confirm this is fixed in 1.17.1."}}
{"actor":{"display_login":"joeconwaystk"}}