Summary: Selective import does not work inside a function
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-13 08:27:27 PST ---
Test case:

void test7494()
    import core.bitop : bsr;
    // ^ or just any selective import statements

Compiling with 'dmd -c test.d' gives

    Error: undefined identifier bsr

The error was introduced in commit c022036c8f9fea1672bb2c56edd610715f6335c8
(for fixing bug 314).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to