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

Internal error: e2ir.c 141

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
ilitirit



Joined: 28 Dec 2004
Posts: 7

PostPosted: Wed Dec 29, 2004 8:28 am    Post subject: Internal error: e2ir.c 141 Reply with quote

This is most probably a bug with the D compiler itself but I thought I'd post it here anyway since I discovered it while using DFL.

This program generates an internal compiler error:

Code:

import dfl.all;
import dfl.winapi;
void main()
{
   (new Control).backColor   = true ? Control.defaultBackColor : Control.defaultBackColor;
}


This is the smallest example I could think of to illustrate the error. The obvious workaround is to use an if/else construct but nevertheless it's still a bug.
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Wed Dec 29, 2004 9:40 am    Post subject: Reply with quote

Looks like it only does that because the property is a struct. I'll post it to the D bugs newsgroup.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL 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