D7034: Add callable type to PHP
Alexander Zhigalin
noreply at phabricator.kde.org
Tue Aug 1 21:47:48 UTC 2017
zhigalin added inline comments.
INLINE COMMENTS
> mtijink wrote in duchain.cpp:751
> Both return statements return a callable: `$i` (note: without `()`) is a callable, and `function () {}` is a callable too. So I think this behaviour is correct, but correct me if I'm wrong.
The problem arises then you return the **result** of calling `$i()` and the parser still think you're returning a callable
REPOSITORY
R52 KDevelop: PHP Support
REVISION DETAIL
https://phabricator.kde.org/D7034
To: mtijink, #kdevelop, zhigalin
Cc: zhigalin, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170801/387f56bb/attachment.html>
More information about the KDevelop-devel
mailing list