{"action":"created","issue":{"url":"https://api.github.com/repos/perl6/doc/issues/2061","repository_url":"https://api.github.com/repos/perl6/doc","labels_url":"https://api.github.com/repos/perl6/doc/issues/2061/labels{/name}","comments_url":"https://api.github.com/repos/perl6/doc/issues/2061/comments","events_url":"https://api.github.com/repos/perl6/doc/issues/2061/events","html_url":"https://github.com/perl6/doc/issues/2061","id":326716549,"number":2061,"title":"trap of token name maybe confilct with internal token ?","user":{"login":"araraloren","id":15150618,"avatar_url":"https://avatars2.githubusercontent.com/u/15150618?v=4","gravatar_id":"","url":"https://api.github.com/users/araraloren","html_url":"https://github.com/araraloren","followers_url":"https://api.github.com/users/araraloren/followers","following_url":"https://api.github.com/users/araraloren/following{/other_user}","gists_url":"https://api.github.com/users/araraloren/gists{/gist_id}","starred_url":"https://api.github.com/users/araraloren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraloren/subscriptions","organizations_url":"https://api.github.com/users/araraloren/orgs","repos_url":"https://api.github.com/users/araraloren/repos","events_url":"https://api.github.com/users/araraloren/events{/privacy}","received_events_url":"https://api.github.com/users/araraloren/received_events","type":"User","site_admin":false},"labels":[{"id":244843225,"url":"https://api.github.com/repos/perl6/doc/labels/docs","name":"docs","color":"5DE0FA","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-26T07:05:38Z","updated_at":"2018-05-26T17:59:58Z","closed_at":"2018-05-26T17:34:33Z","author_association":"NONE","body":"## The problem\r\n```\r\nmy grammar Test { \r\nrule TOP { <CREATE> } \r\ntoken CREATE { \"CREATE\" }\r\n};\r\nsay Test.parse: \"CREATE\"; \r\n#`(\r\nToo many positionals passed; expected 1 argument but got 2\r\n  in regex CREATE at -e line 1\r\n  in regex TOP at -e line 1\r\n  in block <unit> at -e line 1\r\n)\r\n```\r\nAbove error is cause by the name of token CREATE(it maybe a internal name), it is work fine if we change the CREATE to something other such as CREATEX.\r\n\r\n## Suggestions\r\n\r\nDocument the trap of token name may confilct with internal name.\r\n\r\n<!--\r\n\r\n    The template below contains optional suggestions. If you cannot\r\n    provide some information, simply omit it.\r\n\r\n    Please state clearly in \"The problem\" whether you are reporting a\r\n    problem with the site (something does not show up in the search\r\n    drop-down menu or a page is missing, for instance), documentation\r\n    text or examples that are missing or should be improved or\r\n    something else. Describe clearly the problem and the page where\r\n    you found it.\r\n\r\n    If applicable, tell us in \"Suggestions\" what could be done to\r\n    solve the problem, such as \"Rephrase the description\" or \"Use an\r\n    example program that actually runs\".\r\n\r\n-->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/perl6/doc/issues/comments/392277756","html_url":"https://github.com/perl6/doc/issues/2061#issuecomment-392277756","issue_url":"https://api.github.com/repos/perl6/doc/issues/2061","id":392277756,"user":{"login":"Xliff","id":609986,"avatar_url":"https://avatars1.githubusercontent.com/u/609986?v=4","gravatar_id":"","url":"https://api.github.com/users/Xliff","html_url":"https://github.com/Xliff","followers_url":"https://api.github.com/users/Xliff/followers","following_url":"https://api.github.com/users/Xliff/following{/other_user}","gists_url":"https://api.github.com/users/Xliff/gists{/gist_id}","starred_url":"https://api.github.com/users/Xliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xliff/subscriptions","organizations_url":"https://api.github.com/users/Xliff/orgs","repos_url":"https://api.github.com/users/Xliff/repos","events_url":"https://api.github.com/users/Xliff/events{/privacy}","received_events_url":"https://api.github.com/users/Xliff/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T17:59:58Z","updated_at":"2018-05-26T17:59:58Z","author_association":"NONE","body":"You might want to add COALESCE to that list, as well."}}
{"actor":{"display_login":"Xliff"}}