<p></p>
<p>Ok, so its the combination of symbols.c and tagmanager, so its not as simple as just the switch that I suggested.  And now I'm remembering why I don't touch any of that stuff :)</p>
<p>As for the type of xsq in the above, well, I don't think ctags handles any expression evaluation, so noticing that the lambda is called and returns a value is beyond its pay grade, and (I think, jsfiddle was happy with it):</p>
<pre><code>const xsq = (function(x){ return x*x});
</code></pre>
<p><strong>is</strong> a function, so the presence of the parens about the lambda can't be simply taken to not make it a function.  And in a dynamic language like JS static inference is unlikely to always work anyway (see also Python and other dynamic languages).</p>
<p>And inference is necessary in C++ and heaps of other languages too now.  I'm afraid the world (except C) has run away ahead of the capabilities of the ctags model.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/discussions/2879#discussioncomment-1249391">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7VZERPQHQZDDMFJ6TT7ICOXANCNFSM5C4PN4OQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJZ4ZBO624VO6J3N43LT7ICOXA5CNFSM5C4PN4O2YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAJRA3Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/discussions/2879#discussioncomment-1249391",
"url": "https://github.com/geany/geany/discussions/2879#discussioncomment-1249391",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>