I should have written:
| class | class := FAMIX2Class new. class setName: 'AClass'. class addMethod: (FAMIX2Method new setName: 'aMethod'; yourself). class addMethod: (FAMIX2Method new setName: 'anotherMethod'; yourself).
(replaced addToMethods: by addMethod:) But it is still interesting why it blocks the image. It has to do with BlockContext.
Cheers, Alexandre
On 4 Sep 2008, at 10:31, Alexandre Bergel wrote:
Hi again,
Doru, last week you wrote a small class definition for the MooseFinder.
| class | class := FAMIXClass new. class name: 'AClass'. class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself). class addToMethods: (FAMIXMethod new name: 'anotherMethod'; yourself).
Remember? I guess this should be the FAMIX 2 version of these 5 lines of code:
| class | class := FAMIX2Class new. class setName: 'AClass'. class addToMethods: (FAMIX2Method new setName: 'aMethod'; yourself). class addToMethods: (FAMIX2Method new setName: 'anotherMethod'; yourself).
However it lamentably open debugger that cannot be closed. The image is unusable.
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev