Actually, at the time I did work with FAMIXClass,
not FAMIX2Class
because FAMIX2 was not described in Fame yet.
But it should work with FAMIX2 now as well. Does it still freeze
with
FAMIX code only?
Cheers,
Doru
On Sep 4, 2008, at 10:52 AM, Bergel, Alexandre wrote:
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(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
"When people care, great things can happen."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch