{"action":"opened","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/4784","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/4784/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/4784/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/4784/events","html_url":"https://github.com/kripken/emscripten/issues/4784","id":194261169,"number":4784,"title":"WebIDL - interface Date conflict with Javascript Date class?","user":{"login":"JerryYangJin","id":2571533,"avatar_url":"https://avatars.githubusercontent.com/u/2571533?v=3","gravatar_id":"","url":"https://api.github.com/users/JerryYangJin","html_url":"https://github.com/JerryYangJin","followers_url":"https://api.github.com/users/JerryYangJin/followers","following_url":"https://api.github.com/users/JerryYangJin/following{/other_user}","gists_url":"https://api.github.com/users/JerryYangJin/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryYangJin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryYangJin/subscriptions","organizations_url":"https://api.github.com/users/JerryYangJin/orgs","repos_url":"https://api.github.com/users/JerryYangJin/repos","events_url":"https://api.github.com/users/JerryYangJin/events{/privacy}","received_events_url":"https://api.github.com/users/JerryYangJin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-08T06:54:48Z","updated_at":"2016-12-08T06:54:48Z","closed_at":null,"body":"Hello, I'm using `WebIDL` to export a c++ project, which has it's own `Date` class.\r\n\r\nwhen I try to export `Date` in `WebIDL` (I tried both with and without `[Prefix=\"Namespace::\"]`), I got below error:\r\n\r\n```sh\r\nWebIDL.WebIDLError: error: invalid syntax, <unknown> line 8:10\r\ninterface Date {\r\n```\r\n\r\nIs it because `Date` is an existing JavaScript class? If yes, what are my options to export `Date` class from c++ project?\r\n\r\nThanks a lot!"}}
{"actor":{"display_login":"JerryYangJin"}}