2180 – filename error with #line

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
Add an attachment (proposed patch, testcase, etc.)

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 2 BCS 2008年09月18日 16:45:26 UTC
related
http://d.puremagic.com/issues/show_bug.cgi?id=2360 
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 


AltStyle によって変換されたページ (->オリジナル) /