[Pharo-project] broken gettext package in 1.4
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. 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
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>
Le 15/03/2012 16:58, Stéphane Ducasse a écrit :
keywords := assoc value.
domainName := self getTextDomainForClassCategory: (Smalltalk at: methodReference classSymbol) category.
methodReference realClass category?
Yes something like that plus some other changes. I already forgot what I did change. -- Dr. Geo -- http://www.drgeo.eu
participants (2)
-
Hilaire Fernandes -
Stéphane Ducasse