[Issue 1941] New: missing line on inaccesable external private module member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 25 10:14:41 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1941

           Summary: missing line on inaccesable external private module
                    member
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: spam at extrawurst.org


[mod.d]
module mod;

private int bar;

[main.d]
module main;

import mod;

void main(){bar = 0;}

gives dmd compiler output:
"main.d: module main mod.bar is private"

this message must be improved. it should at least provide a line number to be
parsable as every other error message (every other besides the other ones that
are broke ;)


-- 



More information about the Digitalmars-d-bugs mailing list