On Mar 14, 2012, at 9:43 PM, Hilaire Fernandes wrote:
> I have this code below from Gettext package becoming broken with latest
> Ring Pharo 1.4 package.
>
> Can someone with the appropriate knowledge help me there?
>
> Problem occurs at (Smalltalk at: methodReference classSymbol)
>
> methodReference is a RGMethodDefinition
>
>
> Enclosed PharoDebug.log
>
> appendStringReceivers: aSymbol into: domains
> | literals references domainName methodReference keywords found |
>
> found := TranslatedReceiverFinder new stringReceiversWithContext:
> aSymbol.
> found do: [ :assoc |
> methodReference := assoc key.
> keywords := assoc value.
> domainName := self getTextDomainForClassCategory:
> (Smalltalk at: methodReference classSymbol) category.
methodReference realClass category?
> literals := domains at: domainName ifAbsentPut: [Dictionary
> new].
> keywords do: [ :literal |
> references := literals at: literal ifAbsentPut:
> [OrderedCollection new].
> references add: methodReference.
> ].
> ].
>
>
>
> --
> Dr. Geo -- http://www.drgeo.eu
> <PharoDebug.log>