:)
look more and more like CLOS :)

now a question: what do you accept as value:
    (literals or expressions).
I have the impression that literals are better because no runtime needed.

Stef
Hi,

Todays small improvement:

ExampleSlotWithDefaultValue now allows to set the default in the definition (it 
was before just hard coding a value).

e.g.

Object subclass: #GG
        slots: { #gg => ExampleSlotWithDefaultValue default: 5 }
        classVariables: {  }
        category: ‘PlayGround'


When inspecting

GG new

—> the slot is initialised to 5.

https://pharo.fogbugz.com/f/cases/14991/ExampleSlotWithDefaultValue-allow-default-to-be-set-in-definition
        - Slot: storeOn: calls printOn:
        - PropertyBaseSlot: use mangeled name: #_propertyBaseSlot
        - ExampleSlotWithDefaultValue: set default in definition


        Marcus






Reply via email to