<html>
    <head>
      <base href="http://bugzilla.gdcproject.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - __traits(parent, X.Y) recurs X for template struct X with repeated applications of __traits(parent, ...)"
   href="http://bugzilla.gdcproject.org/show_bug.cgi?id=124">124</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>__traits(parent, X.Y) recurs X for template struct X with repeated applications of __traits(parent, ...)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>GDC
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>development
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>gdc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ibuclaw@gdcproject.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>soltanmm@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>-- BEGIN CODE --

struct A(T)
{
  static struct B {}
}

pragma(msg,__traits(parent,__traits(parent,__traits(parent,A!int.B))));

-- END CODE --

The resulting output is `A!int`.

If this is the intended behavior of the compiler, then it is problematic for
the implementation of `std.traits.fullyQualifiedName`, as the code there (line
340 of std/traits.d) ends up forward referencing itself into oblivion (and
therefore making fullyQualifiedName broken for instances of the above pattern).

I have a feeling it isn't intended, though.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>