Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology
Status: New
Owner: ----
CC: [hidden email]
Labels: Type-Defect Priority-Medium Component-Famix

New issue 906 by [hidden email]: FAMIXType>>classScope should not  
return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

Right now, the classScope in FAMIXType returns nil, which is a problem.

FAMIXType>>classScope
    "all types are not classes. Redefined in FamixClass"
    ^ nil

Either we make it return self, or we introduce typeScope.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology

Comment #1 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

This is linked to  issue 814

What is the use case requiring typeScope?
Can one of the solutions proposed in issue 814 solve it?

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology

Comment #2 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

FAMIXAnnotationType new classScope ==> nil
and because of this
FAMIXAnnotationType new namespaceScope ==> nil

This should not happen. We could make classScope return self (but the name  
is not so fortunate because it FAMIXAnnotationType is not quite a class),  
or we can introduce typeScope.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology
Updates:
        Status: Started

Comment #3 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

Nope

FAMIXType namespacescope does not depend on ClassScope but only on the  
presence of a container

FAMIXAnnotationType new container: FAMIXNamespace new ; namespaceScope

Anyway do we replace classScope by typeScope ?
(and atClassScope by atTypeScope)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology

Comment #4 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

Yes, let's replace classScope with typeScope. Any taker?

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology

Comment #5 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

renamed classScope to typeScope (and deprecated classScope)
renamed atClassScope to atTypeScope (and deprecated atClassScope)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 906 in moose-technology: FAMIXType>>classScope should not return nil

moose-technology
Updates:
        Status: Fixed
        Labels: Milestone-4.8

Comment #6 on issue 906 by [hidden email]: FAMIXType>>classScope  
should not return nil
http://code.google.com/p/moose-technology/issues/detail?id=906

Also, now typeScope returns self for all types.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev