[Moose-dev] Re: Dealing with traits in the Smalltalk importer

Stéphane Ducasse stephane.ducasse at inria.fr
Mon Nov 23 19:48:58 MET 2009


yeap!

Stef

On Nov 23, 2009, at 3:47 AM, Simon Denier wrote:

> Hi there
> 
> I started to work on issue 227 and it is quite simple but problematic. Basically when we send PackageInfo>>classes, it returns regular classes and traits. There is no way to ask directly for the regular classes.
> 
> Now since traits are flattened in their user classes, there is no behavior lost if I ignore them in the importer (esp. since for now there is no representation of traits in Famix).
> With this in mind, I updated the Lan model to use a trait, with the goal to not change the properties of the model and the tests.
> 
> But the tests break because the Lan package has one more 'class' which is the trait.
> Do I continue and update the tests to ignore the trait?
> 
> --
>  Simon
> 
> 
> 
> _______________________________________________
> Moose-dev mailing list
> Moose-dev at iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev




More information about the Moose-dev mailing list