[Issue 7253] New: Bad error message when symbol is not found in	selective import
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jan  9 08:42:30 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7253
           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
        AssignedTo: nobody at puremagic.com
        ReportedBy: leandro.lucarella at sociomantic.com
--- Comment #0 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list