help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] bug in Directory class>>allFilesMatching:do:


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] bug in Directory class>>allFilesMatching:do:
Date: Mon, 22 Jun 2009 14:59:48 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20081009)

Stefan Schmiedl wrote:
diff --git a/kernel/Directory.st b/kernel/Directory.st
index d587da3..99a9fcd 100644
--- a/kernel/Directory.st
+++ b/kernel/Directory.st
@@ -206,7 +206,7 @@ how to use the instances returned by my class methods.'>
     Directory class >> allFilesMatching: aPattern do: aBlock [
        "Invoke #allFilesMatching:do: on the current working directory."
        <category: 'file operations'>
-       (File name: self working) allFilesMatching: aPattern do: aBlock
+       (File name: self working name) allFilesMatching: aPattern do: aBlock

Or just "self working allFilesMatching:...do:..."?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]