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

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 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 ***