[Issue 2180] New: filename error with #line

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 26 11:59:26 PDT 2008


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

           Summary: filename error with #line
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: shro8822 at vandals.uidaho.edu


given this code:

#line 1 "Tree.cs"
class Concept
{
}
class Category
{
private Concept Concept;
}

this error message is generated:

Tree.cs(6): Error: Concept is used as a type
bug.d(6): variable bug.Category.Concept voids have no value

The file name in the second message is wrong.


-- 



More information about the Digitalmars-d-bugs mailing list