Summary: Bad error message when symbol is not found in
                    selective import
           Product: D
           Version: D1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Leandro Lucarella <> 
2012-01-09 08:42:28 PST ---
Test case (tested only in DMD 1.071):

touch m1.d
echo 'import m1 : non_exitent_symbol;' > m2.d
dmd -c m2.d
m2.d(1): Error: import __anonymous non_exitent_symbol not found
m2.d(1): Error: alias m2.non_exitent_symbol recursive alias declaration

Various things can be improved here:

* __anonymous should be m1
* Could be better phrased, something like: symbol 'non_exitent_symbol' not
found in module 'm1'
* The second error looks bogus, should probably be removed

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

Reply via email to