{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/6961","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/6961/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/6961/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/6961/events","html_url":"https://github.com/dart-lang/sdk/issues/6961","id":84522615,"number":6961,"title":"/utils/pub/version.dart still uses obsolete default factory class syntax","user":{"login":"crelier","id":8620091,"avatar_url":"https://avatars.githubusercontent.com/u/8620091?v=3","gravatar_id":"","url":"https://api.github.com/users/crelier","html_url":"https://github.com/crelier","followers_url":"https://api.github.com/users/crelier/followers","following_url":"https://api.github.com/users/crelier/following{/other_user}","gists_url":"https://api.github.com/users/crelier/gists{/gist_id}","starred_url":"https://api.github.com/users/crelier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crelier/subscriptions","organizations_url":"https://api.github.com/users/crelier/orgs","repos_url":"https://api.github.com/users/crelier/repos","events_url":"https://api.github.com/users/crelier/events{/privacy}","received_events_url":"https://api.github.com/users/crelier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-Pub","name":"Area-Pub","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2012-11-27T01:07:15Z","updated_at":"2015-06-05T22:03:25Z","closed_at":"2015-06-03T12:01:58Z","body":"Pub needs to be updated so we can proceed with removing support for obsolete default factory class syntax:\n\ninterface VersionConstraint default \\_VersionConstraintFactory { ... }\n\nAlso, the name of a factory must match the name of its enclosing class:\n\nclass \\_VersionConstraintFactory {\n&nbsp;&nbsp;factory VersionConstraint.empty() =&gt; const \\_EmptyVersion();\n\nPlease, use abstract classes and redirecting factories instead."},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/109453776","html_url":"https://github.com/dart-lang/sdk/issues/6961#issuecomment-109453776","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/6961","id":109453776,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","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},"created_at":"2015-06-05T22:03:25Z","updated_at":"2015-06-05T22:03:25Z","body":"This issue has been moved to dart-lang/pub#310."}}