- fix: function declaration's parameters not correctly parsed, if it have a definition which have different parameter names
This commit is contained in:
parent
581e59d719
commit
d7cbd855ff
2
NEWS.md
2
NEWS.md
|
@ -1,5 +1,7 @@
|
|||
Version 0.7.2
|
||||
- fix: rainbow parenthesis stop functioning when change editor's general options
|
||||
- fix: issue count not correctly displayed when syntax check/compile finished
|
||||
- fix: function declaration's parameters not correctly parsed, if it have a definition which have different parameter names
|
||||
|
||||
Version 0.7.1
|
||||
- fix: can't add bookmark at a breakpoint line
|
||||
|
|
|
@ -2086,7 +2086,7 @@ void CppParser::handleMethod(const QString &sType, const QString &sName, const Q
|
|||
mClassScope,
|
||||
true,
|
||||
isStatic);
|
||||
scanMethodArgs(functionStatement, functionStatement->args);
|
||||
scanMethodArgs(functionStatement, sArgs);
|
||||
// add variable this to the class function
|
||||
if (functionClass && functionClass->kind == StatementKind::skClass &&
|
||||
!isStatic) {
|
||||
|
|
Loading…
Reference in New Issue