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

imports in class and module scope

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
negerns



Joined: 08 Jul 2006
Posts: 13

PostPosted: Sat Jul 29, 2006 4:35 pm    Post subject: imports in class and module scope Reply with quote

I've tried building the DWT 0.36 using DMD 0.163 and produced errors that certain windows types where not found. I've added imports of the required files to a .d file and accidentally added the same imports to a couple of other files that were producing the same errors. The build proceeded without errors. After investigating, I found that the imports that I added in the last couple of .d files duplicate those that were declared within the classes defined in the module. It should have worked without me duplicating the import in module scope but it doesn't. Is this a bug?
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Sat Jul 29, 2006 8:35 pm    Post subject: Reply with quote

It's more likely the effect of a principal 163 change, where imports became private by default Smile

The original imports should have had 'public' in front of them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General 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