((platform files FilePath) for: '/Users/')
The issue seems to be in class FilePath:
public for: nm <String> ^ <FilePath> = (
^platformSpecificPathClass new pattern: nm
)
Evaluating 'platformSpecificPathClass' in this frame results in 'nil', as does evaluating the below in the workspace:
platform files platformSpecificPathClass
I see these two slots in the definition of Files:
public platformSpecificPathClass
public platformSpecificPatternClass
which get set in RuntimeForSqueak>>Platform resetForNewImageSession:
...
squeak OSProcess isUnixMac ifTrue:
[macfiles resetForNewImageSession.
files platformSpecificPathClass: macfiles MacOSXFilePath.
files platformSpecificPatternClass: macfiles MacOSXFilePattern].
...
Perhaps I need to do a reset of some sort (I have tried the bottom 3 options under the 'Tools' menu but this doesn't seem to have made any difference)?
Any assistance would be much appreciated.
Thanks very much!