2360 – wrong filename in error message after #line

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2360 - wrong filename in error message after #line
Summary: wrong filename in error message after #line
Status: RESOLVED DUPLICATE of issue 2397
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
Depends on:
Blocks:
Reported: 2008年09月15日 19:39 UTC by BCS
Modified: 2014年02月24日 15:32 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年09月15日 19:39:57 UTC
I'm getting the error:
"filename.d(264): template fn(T) conflicts with function fn at filename.d(264)"
the issue is that the filename was altered to something else before this point
Comment 1 BCS 2008年09月18日 16:43:23 UTC
same bug different error
Blob.d(31): function Blob.BaseToken.GetHashCode does not override any function
Comment 2 BCS 2008年09月18日 16:45:29 UTC
related
http://d.puremagic.com/issues/show_bug.cgi?id=2180 
Comment 3 Stewart Gordon 2008年11月24日 07:45:20 UTC
You forgot to post your testcase.
BTW, the way to link to other issues in Bugzilla is to type simply
issue 2180
much better than posting the full URL.
Comment 4 BCS 2008年11月24日 12:26:32 UTC
related 
issue 2397 
Comment 5 Don 2010年05月06日 12:49:05 UTC
This has no test case, but seems to be the same as bug 2397. Marking as duplicate.
*** This issue has been marked as a duplicate of issue 2397 ***


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