D6690: Fix uses of class in closure parameters
Alexander Zhigalin
noreply at phabricator.kde.org
Tue Jul 18 08:48:59 UTC 2017
zhigalin requested changes to this revision.
zhigalin added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> expressionvisitor.cpp:239
> + if (it->element->defaultValue) {
> + visitStaticScalar(it->element->defaultValue);
> + }
/kdesrc/kdev-php/duchain/expressionvisitor.cpp: In member function ‘virtual void Php::ExpressionVisitor::visitClosure(Php::ClosureAst*)’:
/kdesrc/kdev-php/duchain/expressionvisitor.cpp:246:60: error: no matching function for call to ‘Php::ExpressionVisitor::visitStaticScalar(Php::ExprAst*&)’
visitStaticScalar(it->element->defaultValue);
^
In file included from /kdesrc/kdev-php/duchain/expressionvisitor.cpp:20:0:
/kdesrc/kdev-php/duchain/expressionvisitor.h:65:10: note: candidate: virtual void Php::ExpressionVisitor::visitStaticScalar(Php::StaticScalarAst*)
void visitStaticScalar(StaticScalarAst *node) override;
^
/kdesrc/kdev-php/duchain/expressionvisitor.h:65:10: note: no known conversion for argument 1 from ‘Php::ExprAst*’ to ‘Php::StaticScalarAst*’
REPOSITORY
R52 KDevelop: PHP Support
REVISION DETAIL
https://phabricator.kde.org/D6690
To: mtijink, #kdevelop, zhigalin
Cc: zhigalin, kdevelop-devel, #kdevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170718/4c95ec12/attachment.html>
More information about the KDevelop-devel
mailing list