No one expects the empty category!
your fix looks fine... I've submitted a bug...
Dale
On Mar 29, 2011, at 1:07 PM, Thierry Thelliez wrote:
> I am not sure if this is a bug in GemTools/GLASS or if I should report
> that to another list.
>
> The execution of the following method fails if the categoryName is empty (#'').
>
> PackageInfo
> isForeignClassExtension: categoryName
> ^ categoryName first = $* and: [(self isYourClassExtension: categoryName) not]
>
>
> The categoryName was empty because some methods were dynamically
> generated with _compileInContext....
>
> The fix might be as simple as:
>
> isForeignClassExtension: categoryName
> ^ categoryName isEmpty not and: [ categoryName first = $* and: [(self
> isYourClassExtension: categoryName) not] ]
>
>
> Thierry