Bug 2180 – filename error with #line

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-06-26T13:59:00Z
Last change time
2014-02-24T15:33:16Z
Keywords
diagnostic, patch
Assigned to
nobody
Creator
shro8822

Comments

Comment #0 by shro8822 — 2008-06-26T13:59:25Z
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 by shro8822 — 2008-08-29T17:35:08Z
BUMP Just ran into this again
Comment #2 by shro8822 — 2008-09-18T16:45:26Z
Comment #3 by shro8822 — 2008-11-24T12:27:08Z
related to: issue 2360 issue 2397
Comment #4 by kennytm — 2011-06-10T12:05:46Z
Comment #5 by bugzilla — 2011-06-11T14:23:23Z