{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/26950","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/26950/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/26950/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/26950/events","html_url":"https://github.com/dart-lang/sdk/issues/26950","id":167160885,"number":26950,"title":"Unable to create const Symbol from String","user":{"login":"B3rn475","id":2686902,"avatar_url":"https://avatars.githubusercontent.com/u/2686902?v=3","gravatar_id":"","url":"https://api.github.com/users/B3rn475","html_url":"https://github.com/B3rn475","followers_url":"https://api.github.com/users/B3rn475/followers","following_url":"https://api.github.com/users/B3rn475/following{/other_user}","gists_url":"https://api.github.com/users/B3rn475/gists{/gist_id}","starred_url":"https://api.github.com/users/B3rn475/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B3rn475/subscriptions","organizations_url":"https://api.github.com/users/B3rn475/orgs","repos_url":"https://api.github.com/users/B3rn475/repos","events_url":"https://api.github.com/users/B3rn475/events{/privacy}","received_events_url":"https://api.github.com/users/B3rn475/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Resolution:%20invalid","name":"Resolution: invalid","color":"8d8d8d"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-23T01:53:37Z","updated_at":"2016-07-26T21:38:04Z","closed_at":"2016-07-26T21:38:04Z","body":"The following code passes the analyzer tests, but doesn't work.\r\n\r\n```dart\r\nclass Wrapper {\r\n  final Symbol s;\r\n  const Wrapper(String name) \r\n    : s = const Symbol(name);\r\n}\r\n```\r\n\r\nThe runtime error:\r\n\r\n> expression is not a valid compile-time constant\r\n\r\nIs it actually wrong?"}}
{"actor":{"display_login":"kevmoo"}}