Open alexr00 opened 7 months ago
@clysto I pushed a fix for this specific case, but stuff like
constexpr int a = 5;
std::vector<uint64_t> test(a << 22);
Is still broken because a full/generic fix is going to be tough. Not only does it involve the classic turbofish problem (which is sometimes totally unsolvable), but it also involves function-definition-vs-function-call which for Textmate, is always very hard, and sometimes unsolvable.
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
It looks like
meta.parameter.cpp
is leaking out of the linestd::vector<uint64_t> test(1 << 22);
Originally from @clysto in https://github.com/microsoft/vscode/issues/207184