{"action":"created","issue":{"url":"https://api.github.com/repos/mono/CppSharp/issues/964","repository_url":"https://api.github.com/repos/mono/CppSharp","labels_url":"https://api.github.com/repos/mono/CppSharp/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/mono/CppSharp/issues/964/comments","events_url":"https://api.github.com/repos/mono/CppSharp/issues/964/events","html_url":"https://github.com/mono/CppSharp/issues/964","id":260380622,"number":964,"title":"Error while parsing standard type_traits include file","user":{"login":"zillemarco","id":9462123,"avatar_url":"https://avatars0.githubusercontent.com/u/9462123?v=4","gravatar_id":"","url":"https://api.github.com/users/zillemarco","html_url":"https://github.com/zillemarco","followers_url":"https://api.github.com/users/zillemarco/followers","following_url":"https://api.github.com/users/zillemarco/following{/other_user}","gists_url":"https://api.github.com/users/zillemarco/gists{/gist_id}","starred_url":"https://api.github.com/users/zillemarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zillemarco/subscriptions","organizations_url":"https://api.github.com/users/zillemarco/orgs","repos_url":"https://api.github.com/users/zillemarco/repos","events_url":"https://api.github.com/users/zillemarco/events{/privacy}","received_events_url":"https://api.github.com/users/zillemarco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-09-25T18:59:18Z","updated_at":"2017-09-25T22:37:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When the file type_traits of the standard library is included (`#include <type_traits>`), the parses throws an `AccessViolationException` while inside the `void Parser::WalkAST()` function.\r\n\r\nThis issue has to do whit the C++ standard library deriving a templated class from another templated class and specializing at least one of the base class' arguements with a template alias.\r\n\r\nFollowing there are a not working example and two fixes:\r\n- not working: [here](https://gist.github.com/zillemarco/e8eb59ff217c27420a114ddea348bfe7)\r\n- first fix: [here](https://gist.github.com/zillemarco/8d9b203eca79402a588b7064d840b3b1)\r\n- second fix (more interesting since it's only without the template alias): [here](https://gist.github.com/zillemarco/e3a498d586df342533ebb6a49462ad30)"},"comment":{"url":"https://api.github.com/repos/mono/CppSharp/issues/comments/332033757","html_url":"https://github.com/mono/CppSharp/issues/964#issuecomment-332033757","issue_url":"https://api.github.com/repos/mono/CppSharp/issues/964","id":332033757,"user":{"login":"tritao","id":602268,"avatar_url":"https://avatars0.githubusercontent.com/u/602268?v=4","gravatar_id":"","url":"https://api.github.com/users/tritao","html_url":"https://github.com/tritao","followers_url":"https://api.github.com/users/tritao/followers","following_url":"https://api.github.com/users/tritao/following{/other_user}","gists_url":"https://api.github.com/users/tritao/gists{/gist_id}","starred_url":"https://api.github.com/users/tritao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tritao/subscriptions","organizations_url":"https://api.github.com/users/tritao/orgs","repos_url":"https://api.github.com/users/tritao/repos","events_url":"https://api.github.com/users/tritao/events{/privacy}","received_events_url":"https://api.github.com/users/tritao/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T22:37:00Z","updated_at":"2017-09-25T22:37:00Z","author_association":"MEMBER","body":"Hard to say, I'm trying to get it running under the debugger here, but unfortunately, I also found other template type loc issues while running the tests with debug-mode Clang..."}}
{"actor":{"display_login":"tritao"}}