[squeak-dev] Incorrect class comment for FileStream

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Incorrect class comment for FileStream

Katerina Barone-Adesi
Using Squeak 3.10, the FileStream comment contains the following:  "To
use the file system for most applications, you typically create a
FileStream. This is done by sending a message to a FileDirectory
(file:, oldFile:, newFile:, rename:newName:) which creates an instance
of me. Accesses to the file are then done via my instance."

Unfortunately, the named methods don't exist.   I'm using
FileDirectory new fileNamed: rather than file:, and it appears to work
and have the intention I'd expect FileDirectory file: to have from the
above comment.

Is this list the right place to report problems like this, and if not,
where should they be reported?

Regards;
Katerina Barone-Adesi

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Incorrect class comment for FileStream

David T. Lewis
On Mon, Mar 24, 2008 at 02:58:36PM +0100, Katerina Barone-Adesi wrote:

> Using Squeak 3.10, the FileStream comment contains the following:  "To
> use the file system for most applications, you typically create a
> FileStream. This is done by sending a message to a FileDirectory
> (file:, oldFile:, newFile:, rename:newName:) which creates an instance
> of me. Accesses to the file are then done via my instance."
>
> Unfortunately, the named methods don't exist.   I'm using
> FileDirectory new fileNamed: rather than file:, and it appears to work
> and have the intention I'd expect FileDirectory file: to have from the
> above comment.
>
> Is this list the right place to report problems like this, and if not,
> where should they be reported?

Katerina,

This is the right list for discussing bugs. There is also a bug reporting
system for Squeak at http://bugs.squeak.org/main_page.php, so it is
good if you can make the bug report there also.

Dave