{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/34904","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/34904/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/34904/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/34904/events","html_url":"https://github.com/dart-lang/sdk/issues/34904","id":373087302,"node_id":"MDU6SXNzdWUzNzMwODczMDI=","number":34904,"title":"No way to create symbol representing private setter name","user":{"login":"sjindel-google","id":29863079,"node_id":"MDQ6VXNlcjI5ODYzMDc5","avatar_url":"https://avatars2.githubusercontent.com/u/29863079?v=4","gravatar_id":"","url":"https://api.github.com/users/sjindel-google","html_url":"https://github.com/sjindel-google","followers_url":"https://api.github.com/users/sjindel-google/followers","following_url":"https://api.github.com/users/sjindel-google/following{/other_user}","gists_url":"https://api.github.com/users/sjindel-google/gists{/gist_id}","starred_url":"https://api.github.com/users/sjindel-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjindel-google/subscriptions","organizations_url":"https://api.github.com/users/sjindel-google/orgs","repos_url":"https://api.github.com/users/sjindel-google/repos","events_url":"https://api.github.com/users/sjindel-google/events{/privacy}","received_events_url":"https://api.github.com/users/sjindel-google/received_events","type":"User","site_admin":false},"labels":[{"id":219928175,"node_id":"MDU6TGFiZWwyMTk5MjgxNzU=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-language","name":"area-language","color":"c7def8","default":false},{"id":219928165,"node_id":"MDU6TGFiZWwyMTk5MjgxNjU=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-vm","name":"area-vm","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"lrhn","id":4865287,"node_id":"MDQ6VXNlcjQ4NjUyODc=","avatar_url":"https://avatars3.githubusercontent.com/u/4865287?v=4","gravatar_id":"","url":"https://api.github.com/users/lrhn","html_url":"https://github.com/lrhn","followers_url":"https://api.github.com/users/lrhn/followers","following_url":"https://api.github.com/users/lrhn/following{/other_user}","gists_url":"https://api.github.com/users/lrhn/gists{/gist_id}","starred_url":"https://api.github.com/users/lrhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrhn/subscriptions","organizations_url":"https://api.github.com/users/lrhn/orgs","repos_url":"https://api.github.com/users/lrhn/repos","events_url":"https://api.github.com/users/lrhn/events{/privacy}","received_events_url":"https://api.github.com/users/lrhn/received_events","type":"User","site_admin":false},"assignees":[{"login":"lrhn","id":4865287,"node_id":"MDQ6VXNlcjQ4NjUyODc=","avatar_url":"https://avatars3.githubusercontent.com/u/4865287?v=4","gravatar_id":"","url":"https://api.github.com/users/lrhn","html_url":"https://github.com/lrhn","followers_url":"https://api.github.com/users/lrhn/followers","following_url":"https://api.github.com/users/lrhn/following{/other_user}","gists_url":"https://api.github.com/users/lrhn/gists{/gist_id}","starred_url":"https://api.github.com/users/lrhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrhn/subscriptions","organizations_url":"https://api.github.com/users/lrhn/orgs","repos_url":"https://api.github.com/users/lrhn/repos","events_url":"https://api.github.com/users/lrhn/events{/privacy}","received_events_url":"https://api.github.com/users/lrhn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-23T16:24:33Z","updated_at":"2018-10-23T16:24:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"According to the documentation, the constructor for `const Symbol()` does not accept private names. The only other way to construct a constant symbol is via the `#...` notation, e.g. `#_x`. However, this doesn't work for names of setters, e.g. `_x=`, because `#_x=` isn't syntactically correct.\r\n\r\nHow can the name of a private setter be expressed as a constant symbol?\r\n\r\nFor reference, I'm updating the `mock_writable_final_private_field_test.dart` which is currently exploiting an incorrect behavior in the VM to do this. The VM currently allows creating a private symbol in this way, but it is not correctly mangled."}}
{"actor":{"display_login":"sjindel-google"}}