- fix: Can't show correct completion info for vars declared with template parameters ending with ">>".

This commit is contained in:
Roy Qu 2024-04-13 22:37:09 +08:00
parent 2725e11eaa
commit 56310e8363
2 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,7 @@ Red Panda C++ Version 2.27
- fix: Size of the icons in problem and problem set panel are not correct. - fix: Size of the icons in problem and problem set panel are not correct.
- fix: Shouldn't consider preceeding '&'/'*' when popping completion suggest list for variable members. - fix: Shouldn't consider preceeding '&'/'*' when popping completion suggest list for variable members.
- fix: Positions of current matching parenthesis not correctly updated. - fix: Positions of current matching parenthesis not correctly updated.
- fix: Can't show correct completion info for vars declared with template parameters ending with ">>".
Red Panda C++ Version 2.26 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -5804,6 +5804,8 @@ PStatement CppParser::doParseEvalTypeInfo(
templateLevel++; templateLevel++;
} else if (token == ">") { } else if (token == ">") {
templateLevel--; templateLevel--;
} else if (token == ">>") {
templateLevel-=2;
} }
templateParams += token; templateParams += token;
} }