FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assertion failure redefining 'Object'

 
Post new topic   Reply to topic     Forum Index -> Visual D
View previous topic :: View next topic  
Author Message
pjlbyrne



Joined: 21 Jun 2010
Posts: 2

PostPosted: Mon Jun 21, 2010 5:04 am    Post subject: Assertion failure redefining 'Object' Reply with quote

This crashes the compiler:

Code:
struct Object{}
class Game {}
int main(char[][]argv)
{
   return 0;
}


output is:
Assertion failure: 'b->type->ty == Tclass' on line 449 in file 'class.c'

If I change 'Object' to another name then it doesn't crash.

That 'Object' is a reserved word I can accept, but the crash seems a bit much.

Is it appropriate to report this here? Should I report this 'upstream' and raise a bug at Digital Mars? Could a sticky be posted on this forum saying what to do with crashes? Too many questions?

VisualD is fantastic, can I give you some money?

Ta

Patrick Byrne
_________________
--
Patrick Byrne
Back to top
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Mon Jun 21, 2010 11:56 am    Post subject: Reply with quote

Hi,

Quote:
Is it appropriate to report this here? Should I report this 'upstream' and raise a bug at Digital Mars?


That's a dmd bug, so please report it here: http://d.puremagic.com/issues/enter_bug.cgi

Quote:
Could a sticky be posted on this forum saying what to do with crashes?

Good idea. I'll add one later.

Quote:
Too many questions?

No Wink

Quote:
VisualD is fantastic, can I give you some money?

Thanks. I'm not planning to go commercial, so you might want to donate your money to some charity organisation...

Rainer
Back to top
View user's profile Send private message
pjlbyrne



Joined: 21 Jun 2010
Posts: 2

PostPosted: Tue Jun 22, 2010 3:33 am    Post subject: Reply with quote

> That's a dmd bug, so please report it here:
> http://d.puremagic.com/issues/enter_bug.cgi
Thx. :
"Issue 4364 has been added to the database"

> Thanks. I'm not planning to go commercial,
> so you might want to donate your money to
> some charity organisation...
..the puppies only get the bones if it encourages you to keep up with VisualD Wink
_________________
--
Patrick Byrne
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Visual D All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group