<html>
    <head>
      <base href="https://bugs.llvm.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 - Submodule `.` import does not work"
   href="https://bugs.llvm.org/show_bug.cgi?id=38388">38388</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Submodule `.` import does not work
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>Modules
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>petrol.91@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20624" name="attach_20624" title="Archive with code example">attachment 20624</a> <a href="attachment.cgi?id=20624&action=edit" title="Archive with code example">[details]</a></span>
Archive with code example

Module import stuff on _clang 6.0.0_ does not work well when submodule is tried
to be imported. Generally it does not work at all. It makes biggest problem
during modularization of external lib (fmtlib in my case) where stl `#include`s
are converted to `std.*`. Such imports with `.` are failing due to (for
example) `fatal error: module 'std.vector' not found`. Attached code simplifies
and illustrates the problem.</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>