[Issue 735] forward reference to type Object??

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 18:41:21 PST 2007


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


davidl at 126.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
            Summary|dmd segfault                |forward reference to type
                   |                            |Object??
            Version|0.178                       |1.005




------- Comment #3 from davidl at 126.com  2007-02-12 20:41 -------
err, dmd not segfault any more, but 
if i add the following to modulefault.d to make it compile :
extern(D) Object _d_newclass(ClassInfo a);

dmd throws me:

modulefault.d(16): Error: forward reference to type Object
modulefault.d(16): Error: cannot implicitly convert expression (a) of type
objec
t.Object to Object


-- 



More information about the Digitalmars-d-bugs mailing list