[Cuis-dev] [ChangeSet] Fixes and enhancements to inspectors

Andres Valloud ten at smallinteger.com
Sun May 24 06:35:01 PDT 2020


Another small change.

On 5/24/20 05:32, Juan Vuletich via Cuis-dev wrote:
> On 5/22/2020 8:08 PM, Juan Vuletich via Cuis-dev wrote:
>> Hi Folks,
>>
>> Andrés Valloud and I found a couple of bugs and inconsistencies in the 
>> Inspector hierarchy. If you don't mind crashing your image you might 
>> try `(1 to: 2000) asFloat64Array`, or inspecting an OrderedCollection 
>> with an object that fails in #printOn:, and cycle the collection with 
>> the arrow keys.
>>
>> We did quite some refactor and cleanup. The result is attached. Please 
>> take a look.
>>
>> Thanks,
>>
> 
> After those, these follow. Any comment is appreciated.
> 
> Cheers,
> 
> 
-------------- next part --------------
'From Cuis 5.0 [latest update: #4167] on 24 May 2020 at 6:32:52 am'!

!SequenceableCollectionInspector methodsFor: 'accessing' stamp: 'sqr 5/24/2020 06:32:42'!
fieldList

	| fieldsHere |
	object isNil ifTrue: [^#()].
	fieldsHere _ self indexLabelsForSize: self objectSize.
	^self baseFieldList , fieldsHere
"
OrderedCollection new inspect
(OrderedCollection newFrom: #(3 5 7 123)) inspect
(OrderedCollection newFrom: (1 to: 1000)) inspect
"! !


More information about the Cuis-dev mailing list