<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> This patch (in the form it is now) affects only languages having some form of "typedef". Moreover, it only affects results where the typedef has the same name as as the referenced type (e.g. struct) in a single file - I believe this is quite specific to C/C++/Objective-C where the struct namespace is separate from the global namespace so having</p>

<pre><code>struct Foo {};
typedef int Foo;
</code></pre>

<p>is legal. For instance in the go language while it has something like typedef as well there's just one namespace for types so you can't have two types defined with the same name. I guess this will be the case of any reasonably modern language. I don't know the rest of the languages using "typedef" (Erlang, Rust, Haxe, Haskell, Verilog, VHDL) but I'd guess they won't be affected by the patch at all.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/923#issuecomment-192639315">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2vWjkAxTDkhRDwPm--392lzlfMIks5pqX3JgaJpZM4HlaDx.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/923#issuecomment-192639315"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>