<table><tr><td style="">mtijink updated this revision to Diff 17027.<br />mtijink retitled this revision from "Fix uses of class in closure parameters" to "Fix uses of class in closure parameters and default values for functions".<br />mtijink edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-olgpffgtxzdneta/" rel="noreferrer">(Show Details)</a><br />mtijink added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6690" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Should work as expected now.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Uses of classes in closures <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">were not captured previously, this diff adds that. This diff needs some changes after:<br />
 - D6675: to make sure return types of closures are also added to the uses<br />
 - D6670: default values will not be static scalars anymore, so the visitor call changes (and the default value use capturing can be more easily tested)<br />
<br />
So comments welcome</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and default values for functions were not captured previously</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but I'd prefer first landing D6675 and D6670 and making the changes here</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">this diff adds that</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R52 KDevelop: PHP Support</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D6690?vs=16669&id=17027" rel="noreferrer">https://phabricator.kde.org/D6690?vs=16669&id=17027</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6690" rel="noreferrer">https://phabricator.kde.org/D6690</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>duchain/builders/usebuilder.cpp<br />
duchain/expressionvisitor.cpp<br />
duchain/tests/uses.cpp<br />
duchain/tests/uses.h</div></div></div><br /><div><strong>To: </strong>mtijink, KDevelop, zhigalin<br /><strong>Cc: </strong>zhigalin, kdevelop-devel, KDevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>