{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/34403","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/34403/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/34403/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/34403/events","html_url":"https://github.com/dart-lang/sdk/issues/34403","id":358215613,"node_id":"MDU6SXNzdWUzNTgyMTU2MTM=","number":34403,"title":"Analyzer/Frontend inconsistency - type arguments after named constructor","user":{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false},"labels":[{"id":524536392,"node_id":"MDU6TGFiZWw1MjQ1MzYzOTI=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-front-end","name":"area-front-end","color":"c5def5","default":false},{"id":718037086,"node_id":"MDU6TGFiZWw3MTgwMzcwODY=","url":"https://api.github.com/repos/dart-lang/sdk/labels/front-end-missing-error","name":"front-end-missing-error","color":"ea0b29","default":false},{"id":334529063,"node_id":"MDU6TGFiZWwzMzQ1MjkwNjM=","url":"https://api.github.com/repos/dart-lang/sdk/labels/type-bug","name":"type-bug","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-07T21:22:37Z","updated_at":"2018-09-11T22:52:59Z","closed_at":null,"author_association":"MEMBER","body":"```dart\r\nclass Foo<T> {\r\n  Foo.named();\r\n}\r\n\r\nvoid main() {\r\n  Foo.named<String>(); // No error in analyzer or CFE\r\n  new Foo.named<String>(); // Error in analyzer only\r\n}\r\n```\r\n\r\nDart 1 VM did not accept the second form.\r\n\r\nIt would be breaking to make the first form an error since it has no error in either place. The inconsistency between including or not including `new` is jarring."},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/420453002","html_url":"https://github.com/dart-lang/sdk/issues/34403#issuecomment-420453002","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/34403","id":420453002,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDQ1MzAwMg==","user":{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T22:52:59Z","updated_at":"2018-09-11T22:52:59Z","author_association":"MEMBER","body":"Looks like CFE doesn't fail on this yet so other than failing travis analyzer tests I don't _think_ this should have a huge impact on flutter users yet.\r\n\r\nThis will currently be breaking for DDC users. If we make it a warning then DDC users won't be broken right on SDK update."}}
{"actor":{"display_login":"natebosch"}}