<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - ObjC: Lightweight generics inside of of a subclass, when used in blocks, warn incorrectly"
   href="https://llvm.org/bugs/show_bug.cgi?id=31746">31746</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ObjC: Lightweight generics inside of of a subclass, when used in blocks, warn incorrectly
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>conrad@conradkramer.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17889" name="attach_17889" title="The example code illustrating the warning">attachment 17889</a> <a href="attachment.cgi?id=17889&action=edit" title="The example code illustrating the warning">[details]</a></span>
The example code illustrating the warning

This bug is best explained by the attached code.

The attached code should not produce a warning, but produces
`-Wmismatched-parameter-types` in `clang-800.0.42.1`. If I replace the block in
the example with a type that is not a block, but still a generic, it compiles
without warnings.

I can look into fixing this issue if someone could point me to the component
that handles this.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>