This is really strange. I have this bug in all my 1.1 images with moose.
Which image version do you have? Did you load a pharo dev, OB, O2?...
On 28 juin 2010, at 19:50, Tudor Girba wrote:
Hi Simon,
I cannot reproduce it.
The Hudson server is running the MooseAlgos tests. If you want to look at the image, just
download it:
http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/…
I also just tried to build the image locally, and it worked just well. This is what I
get:
MOGraphNode subclass: #MABfsNode
uses: MATEdgeNode - {#previousEdges. #from:edge:}
instanceVariableNames: 'nextEdges firstDepth'
classVariableNames: ''
poolDictionaries: ''
category: 'Moose-Algos-Graph'
Doru
On 28 Jun 2010, at 17:26, Simon Denier wrote:
Before posting this issue on pharo, I would like
to check that I'm not the only one affected.
On my computer, some tests of Moose-Algos-Graph are failing since we went to Pharo 1.1.
Same things for our internal test server (they do not appear on hudson though, maybe
because hudson does not test moose-algos?)
This was really strange until I noticed that some data structures used by MooseAlgos were
missing their trait declaration.
I have something like that in monticello:
MOGraphNode subclass: #MABfsNode
uses: MATEdgeNode - {#previousEdges. #from:edge:}
instanceVariableNames: 'nextEdges firstDepth'
classVariableNames: ''
poolDictionaries: ''
category: 'Moose-Algos-Graph'
But when loading the package, the definition becomes:
MOGraphNode subclass: #MABfsNode
instanceVariableNames: 'nextEdges firstDepth'
classVariableNames: ''
poolDictionaries: ''
category: 'Moose-Algos-Graph'
Notice that the trait declaration is missing, but it seems to only happen when the
declaration contains an operation like #-
A declaration without operator loads fine:
MOGraphNode subclass: #MADijkstraNode
uses: MATEdgeNode
instanceVariableNames: 'pathWeight previousEdges nextEdges previousNodes'
classVariableNames: ''
poolDictionaries: ''
category: 'Moose-Algos-Graph'
Can anyone confirm? Because it seems like a strong bug and I'm surprised nobody
noticed it before.
--
Simon
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Obvious things are difficult to teach."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev