Hi Yuriy,
This kind of messages are not particularly useful for anything.
Let's try to transform it into something positive. Are you unhappy with the
behavior or with the name? Do you have an actual proposal for improvement?
Doru
On Mon, Nov 11, 2013 at 1:41 PM, Yuriy Tymchuk <yuriy.tymchuk(a)me.com> wrote:
Hi.
So if I’m not mistaken _ensure_ is meant to create referred data if it’s
missing. But when you look at:
ensureClass: var
var isBehavior
ifTrue: [ ^classDict at: var ].
var isSymbol
ifTrue: [
^classDict at: (self class environment at: var)
ifAbsent: [ metaDict at: var
asString ]].
var isString
ifTrue: [ ^metaDict at: var ].
[ false ] assert.
it’s not ensuring anything. Isn’t there supposed to be something like:
metaDict at: var asString
ifAbsent: [ self processClass: var asClass ]
This really frustrates me about FAME. You cannot tell it "someObj asMSE”.
You have to write a tons of pragmas, then do some shenanigans with
metamodels and only then you can get serialisation working. Looks like
stone age. Sorry for jumping on all the things like that, it’s just that
Moose - related things remind me of Java…
Uko
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"