moosetechnology / Fame

Fame is a meta-modeling framework for executable models.
MIT License
4 stars 10 forks source link

Allow properties to have a default value #18

Closed ClotildeToullec closed 3 years ago

ClotildeToullec commented 3 years ago

To avoid properties evaluated as nil when it does not make sense, or nil checks like

isClassSide
    ^ classSide ifNil: [ ^ false ]

---> create FmxMBBehavior>#property:type:defaultValue:

NicolasAnquetil commented 3 years ago

seems more a Famix issue to handle in generator: https://github.com/moosetechnology/Famix/issues/228