{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/reason/issues/2264","repository_url":"https://api.github.com/repos/facebook/reason","labels_url":"https://api.github.com/repos/facebook/reason/issues/2264/labels{/name}","comments_url":"https://api.github.com/repos/facebook/reason/issues/2264/comments","events_url":"https://api.github.com/repos/facebook/reason/issues/2264/events","html_url":"https://github.com/facebook/reason/pull/2264","id":381873305,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzM0MTU2","number":2264,"title":"Switch from double to single quotes for sharpop access sugar","user":{"login":"anmonteiro","id":661909,"node_id":"MDQ6VXNlcjY2MTkwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/661909?v=4","gravatar_id":"","url":"https://api.github.com/users/anmonteiro","html_url":"https://github.com/anmonteiro","followers_url":"https://api.github.com/users/anmonteiro/followers","following_url":"https://api.github.com/users/anmonteiro/following{/other_user}","gists_url":"https://api.github.com/users/anmonteiro/gists{/gist_id}","starred_url":"https://api.github.com/users/anmonteiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmonteiro/subscriptions","organizations_url":"https://api.github.com/users/anmonteiro/orgs","repos_url":"https://api.github.com/users/anmonteiro/repos","events_url":"https://api.github.com/users/anmonteiro/events{/privacy}","received_events_url":"https://api.github.com/users/anmonteiro/received_events","type":"User","site_admin":false},"labels":[{"id":287261905,"node_id":"MDU6TGFiZWwyODcyNjE5MDU=","url":"https://api.github.com/repos/facebook/reason/labels/CLA%20Signed","name":"CLA Signed","color":"38A869","default":false},{"id":796437733,"node_id":"MDU6TGFiZWw3OTY0Mzc3MzM=","url":"https://api.github.com/repos/facebook/reason/labels/cla%20signed","name":"cla signed","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-17T15:33:58Z","updated_at":"2018-11-18T05:59:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/reason/pulls/2264","html_url":"https://github.com/facebook/reason/pull/2264","diff_url":"https://github.com/facebook/reason/pull/2264.diff","patch_url":"https://github.com/facebook/reason/pull/2264.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/facebook/reason/issues/comments/439670059","html_url":"https://github.com/facebook/reason/pull/2264#issuecomment-439670059","issue_url":"https://api.github.com/repos/facebook/reason/issues/2264","id":439670059,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY3MDA1OQ==","user":{"login":"jordwalke","id":977348,"node_id":"MDQ6VXNlcjk3NzM0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/977348?v=4","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T05:59:53Z","updated_at":"2018-11-18T05:59:53Z","author_association":"MEMBER","body":"I was pretty sure you could implement this by either extending [this rule here](https://github.com/facebook/reason/blob/master/src/reason-parser/reason_lexer.mll#L789\r\n) to allow multiple characters between the single quotes, or to add another rule immediately after it that has `> 1` char so that you have two rules that are mutually exclusive. Either way, you could add a custom syntax error message any time someone uses a >1 character single quote string anywhere but directly in array access syntax.\r\n"}}
{"actor":{"display_login":"jordwalke"}}