D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2180 - filename error with #line
Summary: filename error with #line
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: diagnostic, patch
Depends on:
Blocks:
 
Reported: 2008-06-26 13:59 UTC by BCS
Modified: 2014-02-24 15:33 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description BCS 2008-06-26 13:59:25 UTC
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.
Comment 1 BCS 2008-08-29 17:35:08 UTC
BUMP

Just ran into this again
Comment 3 BCS 2008-11-24 12:27:08 UTC
related to:
issue 2360
issue 2397
Comment 4 kennytm 2011-06-10 12:05:46 UTC
DMD pull #103.

https://github.com/D-Programming-Language/dmd/pull/103