This is stef typing. I'm looking at the code of sara and I see the
"aNamespace asMetaDescription classes."
package acceptMetamodelVisitor: self.
^ rootXmlElement printString.
If we remove the comments the code works, but if we run it like it is
ie package is empty (otherwise it contains the right meta descriptions).
I think that the design is not good. The programmer should not guess that
a query is doing something magic in his back. Could you change that?
At the minimum call classes initializeSomething
the issue is fixed, now you can say
SCG.Moose asMetaDescription classes
and get all meta-descriptions of all classes without the annoying
PS: next week I am in Berlin, I might not have time to fix bugs, but
I am usually available via mail.
On 27 Jul 2007, at 15:32 , sellossa(a)ensieta.fr wrote:
> why, when I do: SCG.Moose asMetaDescription, I get sthing different
> from when I do: SCG.Moose allClasses do: #asMetaDescription.
> ^SCG.Moose asMetaDescription
> Stef find it terrible!