Alexandre, I think I stumbled over the same bug back in July/August when I was working on
replacing MooseCook with MooseChef.
We should dig up the message I exchanged with Doru and Simon at that time.
but basically, If I remmebr well, the problem was that some queries do an implicit
withoutSelfLoop and other not.
The solution I proposed was to remove this implicit withoutSelfLoop everywhere and always
force the user to put it when he wants it.
I believe I tried it and it seemed to work, but I am not sure anymore ...
nicolas
----- Mail original -----
De: "Stéphane Ducasse"
<stephane.ducasse(a)inria.fr>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Mercredi 23 Novembre 2011 22:26:09
Objet: [Moose-dev] Re: classScope on an undefined variable
We produced a test that shows a bug related to the
classScope.
In Moose-Tests-SmalltalkImporter-LAN-AlexandreBergel.10 we added
testClassVariable. This test fails. We need to make the
appropriate change to make it pass. This bug prevents us from
using MooseChef
What is it?
Because normally classVar are imported well. With class and
metaclass merging or not.
I spent a lot of time on that in the past.
Did you check the other tests?
The problem appears when we formulate a moose chef query with
#withoutSelfLoops
The message classScope is sent to an unknown variable, which raise
an DNU on nil.
Strange.
To me this is not clear.
I can find the mooseChef if necessary, but the
tests I added
crystalize the situation well.
Cheers,
Alexandre
In our local image we check the belongsTo in the method
classScope. This makes mooseChef happy.
Anyone can have a look at it please?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev