[BUG] String asURL fails

Stephen Pair spair at advantive.com
Thu Mar 7 05:49:51 UTC 2002


Why should that work?  Shouldn't that be of the form:

'file:/Macintosh HD/Fun with 3.2/Squeak.15.gif' asUrl

Or, perhaps some new construct:

'Macintosh HD:Fun with 3.2:Squeak.15.gif' asFilename asUrl
(if Filename classes were implemented)

Or even:
'Macintosh HD:Fun with 3.2:Squeak.15.gif' asUrlFromFilename

- Stephen

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of Dan Ingalls
> Sent: Thursday, March 07, 2002 12:26 AM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [BUG] String asURL fails
> 
> 
> I get an error from 
> 
> 	'Macintosh HD:Fun with 3.2:Squeak.15.gif' asURL
> 
> in Squeak as of #4795.
> 
> Michael produced a work-around so I could open this file, but 
> presumably asURL should be fixed.
> 
> 	- Dan
> 
> 




More information about the Squeak-dev mailing list