Hi,
Yes, it is used for Smalltalk import, and there is even a test for it that fails: https://ci.inria.fr/moose/job/Moose-latest-dev-4.8/59/testReport/Moose.Tests...
But, there was a bug at least in 1.4 and we could not use it at its full potential.
Cheers, Doru
On Mar 13, 2013, at 10:05 AM, Nicolas Anquetil Nicolas.Anquetil@inria.fr wrote:
On the other hand, is it really used? There is also a small cost for keeping things around
nicolas
On 03/08/2013 09:35 PM, Tudor Girba wrote:
The TypeCollector is part of the RoelTyper. I am not sure what the status of this package is. Does anybody know?
Cheers, Doru
On Mar 8, 2013, at 11:24 AM, Andre Hora andrehoraa@gmail.com wrote:
Hi,
Test MooseSmalltalkImporterRoelTyperTest>>testASTCore is falling because at some point it is using class TypeCollector, which is no longer in the system.
So what should we do:
- Remove this importer?
- Bring back TypeCollector?
========
SmalltalkImporter>>createAttribute: name for: aClass ... ifTrue: [ possibleTypes := (TypeCollector typeInstvar: name asSymbol ofClassWithLookup: aClass ) types. possibleTypes size = 1 ifTrue: [attribute declaredType: (self ensureClass: possibleTypes first theNonMetaClass) ]. ]. ^ attribute =========
-- Andre Hora _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Nicolas Anquetil -- RMod research team (Inria)
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"From an abstract enough point of view, any two things are similar."