DMD compiler exception
Sivo Schilling
sivo.schilling at web.de
Mon May 12 04:13:54 PDT 2008
Hi Benjamin,
if you rename your module to kuiobject.d and edit line 4 to
become "module kui.basic.kuiobject" then DMD should be happy.
Regards.
Benjamin Schulte Wrote:
> Hi!
> I just got a DMD compiler exception. It quits with the message "abnormal program termination".
>
> Here is the compiler output I get.
> D:\dmd\project\...\kui\basic\object.d(7): Error: identifier 'Object' is not defined
> D:\dmd\project\...\kui\basic\object.d(7): Error: Object is used as a type
> Assertion failure: 'b->type->ty == Tclass' on line 421 in file 'class.c'
>
> And here is the source file I guess it's the reason
> 1: /*********************************************************************
> 2: * Basic KUI object
> 3: *********************************************************************/
> 4: module kui.basic.object;
> 5:
> 6: class KUIObject
> 7: {
> 8: }
> 9:
> 10: /********************************************************************/
>
> I just downloaded the newest DMD version 1.028 and tried again - Error still appears.
>
> Do you need any more informations?
More information about the Digitalmars-d
mailing list