Bram Neijt wrote:
> Hi, I've got the following backtrace I don't know how to handle:
> 
> VFS.VFSHandler nameIn: ''!
> 
> Gives the backtrace:
> Object: #VFS error: did not understand #between:and:
> <snip #doesNotUnderstand: chain>
> String(SequenceableCollection)>>#at:ifAbsent:
> Namespace>>#nameIn:
> VFS.VFSHandler class(ClassDescription)>>#nameIn:
> UndefinedObject>>#executeStatements
> 
> How can I find the class name and overcome this problem? It works for
> other classes just fine (for example: String nameIn: ''!)

nameIn:'s argument is an AbstractNamespace, not a string.  This just
happens to work for the case you mention because SystemDictionary's
nameIn: method (which happens to be used for classes in Smalltalk)
ignores its aNamespace argument.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to