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

Error in Properties.d with dwin-r245 and tango0.99.8

 
Post new topic   Reply to topic     Forum Index -> DWin
View previous topic :: View next topic  
Author Message
HeiHon



Joined: 09 Aug 2008
Posts: 10

PostPosted: Mon Mar 30, 2009 7:59 am    Post subject: Error in Properties.d with dwin-r245 and tango0.99.8 Reply with quote

Using dmd1.041 + tango0.99.8 + dwin-r245 I get this error:

D:\dmd\windows\bin\..\import\dwin\text\Properties.d(136): Error: identifier 'InputStream' is not defined
D:\dmd\windows\bin\..\import\dwin\text\Properties.d(136): Error: InputStream is used as a type

This patch to dwin.text.Properties fixed it for me:
Code:

69c69
< private import  tango.io.model.IFile;
---
> private import  tango.io.model.IConduit;
93c93
<     return iniLoad( gb, delimBegin, delimEnd);
---
>     return iniLoad( buf, delimBegin, delimEnd);
150c150
<     foreach (line; new LineIterator!(T) (stream))
---
>     foreach (line; new Lines!(T) (stream))
[/quote]
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Thu Apr 02, 2009 7:14 pm    Post subject: Reply with quote

fixed in revison 251, thanks HeiHon.
_________________
D yuyan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DWin 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