[Seaside-dev] Re: getting loaded

Julian Fitzell jfitzell at gmail.com
Thu Jan 22 20:20:45 UTC 2009


Gah... posted with the wrong email address last time.

On Thu, Jan 22, 2009 at 9:12 PM, Julian Fitzell <julian at fitzell.ca> wrote:
> (copying to seaside-dev)
>
> I would have suggested not actually setting the variable so that we
> don't hide the fact that one was never set. something like:
>
> ^ Current ifNil: [ self subclasses first ]
>
> though now that I think about it I guess yours has the advantage that
> you could basically get rid of #initialize on all the subclasses,
> which is probably a good thing. So maybe that's a good idea. I don't
> feel strongly about it.
>
> Julian
>
> On Thu, Jan 22, 2009 at 8:49 PM, James Foster <James.Foster at gemstone.com> wrote:
>> Juilian,
>>
>> That worked. My proposed fix is as follows:
>>
>> WAPlatform>>class #'current'
>>
>>        Current isNil ifTrue: [
>>                | list |
>>                (list := self subclasses) size = 1
>>                        ifTrue: [list first select]
>>                        ifFalse: [self error: 'No current platform!'].
>>        ].
>>        ^ Current
>>
>> What do you think?
>>
>> James
>>
>>
>> On Jan 22, 2009, at 11:40 AM, Julian Fitzell wrote:
>>
>>> James,
>>>
>>> You should be able to get the latest stuff loaded. When the debugger
>>> pops up while loading Squeak-Platform, just evaluate "WASqueakPlatform
>>> select" in a workspace. Then go to the method that caused the error,
>>> restart, and proceed.
>>>
>>> As I posted, I think this is caused by the random number class
>>> philippe added and I'm not certain what the best fix is.
>>>
>>> Julian
>>
>>
>


More information about the seaside-dev mailing list