Closed rlj1202 closed 3 years ago
Thanks for reporting this. I've filed a bug on our shared VS parser at https://developercommunity.visualstudio.com/t/C-IntelliSense-processes-crashing-when/1397318
Looks like it's being tracked by https://developercommunity.visualstudio.com/t/Broken-intellisense-with-template-specia/1359157 now.
This should be addressed in 1.6.0-insiders.
Bug type: Language Service
Describe the bug
Steps to reproduce
Create cpp file and copy-paste following code occurs the error.
Expected behavior
After I removed following code, intellisense works perfectly.
Code sample and logs
template
class _Mesh {
private:
template
class GLType {
public:
static const unsigned int value;
};
public: template
_Mesh(std::vector indices, Types... data) {
glGenVertexArrays(1, &vao_id);
glBindVertexArray(vao_id);
private: unsigned int vao_id; unsigned int ebo_id; unsigned int cnt_vertices;
};
Screenshots
Additional context
Regardless the GL header file is not include, the problem occurs in a same manner. I remember that the code was intellisensed before correctly but at some point, this thing have been happened.
If there is anything I need to provide, I am willing to do so.