{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/27585","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/27585/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/27585/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/27585/events","html_url":"https://github.com/dart-lang/sdk/issues/27585","id":182855920,"number":27585,"title":"Dart.next: <Primitive>.fromEnvironment is a total misnomer","user":{"login":"matanlurey","id":168174,"avatar_url":"https://avatars.githubusercontent.com/u/168174?v=3","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false},"labels":[{"id":219928184,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-library","name":"area-library","color":"c7def8","default":false},{"id":334529267,"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20enhancement","name":"Type: enhancement","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-13T17:49:52Z","updated_at":"2016-12-02T16:52:15Z","closed_at":null,"body":"In my mind, the following would be equivalent:\n\n``` dart\nconst String.fromEnvironment('FOO') == Platform.environment['FOO']\n```\n\nIt's not though, because the former is a `dart -d` argument, and the latter is actually an exported environment variable. I realize this is a big breaking API, but maybe we have some planned anyway.\n\nMy recommendation is `fromDefine`.\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/264502602","html_url":"https://github.com/dart-lang/sdk/issues/27585#issuecomment-264502602","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/27585","id":264502602,"user":{"login":"matanlurey","id":168174,"avatar_url":"https://avatars.githubusercontent.com/u/168174?v=3","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T16:52:14Z","updated_at":"2016-12-02T16:52:14Z","body":"@lrhn Are you OK with the above? If so, I'll send a PR."}}
{"actor":{"display_login":"matanlurey"}}