http://d.puremagic.com/issues/show_bug.cgi?id=9127


Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #2 from Andrej Mitrovic <[email protected]> 2013-02-04 
10:55:47 PST ---
This is true for any forward declaration:

interface I;
struct S;
class C;
enum ei = I.stringof;
enum es = S.stringof;
enum ec = C.stringof;

test.d(3): Error: interface test.I is forward referenced when looking for
'stringof'
test.d(7): Error: struct S is forward referenced
test.d(5): Error: class test.C is forward referenced when looking for
'stringof'

Note that Walter has stated before that .stringof is allowed to be overriden by
the user, so this might have to be closed as invalid.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to