interface I {void i();}
pragma(msg,__FILE__);
#line __LINE__ "y.d"
pragma(msg,__FILE__);
class C : I {}
output:
bug2.d
y.d
bug2.d(6): class bug2.C interface function I.i isn't implemented
Comment #1 by smjg — 2008-11-24T10:25:31Z
Is this really any different from issue 2180?
Comment #2 by shro8822 — 2008-11-24T12:25:36Z
yes, 2180 is a different error message. As only some error messages have this issue, it would seem that the issue is not necessarily common to all instances. (but the fix might be the same in each place)
Also related to:
issue 2180
issue 2360
Comment #3 by clugdbug — 2010-05-06T12:49:06Z
*** Issue 2360 has been marked as a duplicate of this issue. ***
Comment #4 by clugdbug — 2012-09-27T01:48:20Z
Now prints on D1:
bug2.d
y.d
y.d(6): Error: class bug2.C interface function I.i isn't implemented
which is correct (the file has changed, but the module has not)
On D2 it doesn't compile the code, but that is bug 7524.