Issue 742 in moose-technology: smalltalkClass and compiledMethod extensions should be covered by tests

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

Issue 742 in moose-technology: smalltalkClass and compiledMethod extensions should be covered by tests

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 742 by [hidden email]: smalltalkClass and compiledMethod  
extensions should be covered by tests
http://code.google.com/p/moose-technology/issues/detail?id=742

especially when the mporter semantics is to distinguish or not metaclasses.

Right now

FamixClass>>smalltalkClass
        "Returns the associated smalltalk class if it exist in the system."
       

        ^ FAMIXNameResolver smalltalkClassFromFamixClassName:
                        self name  ifAbsent: [nil]

FamixMethod>>compiledMethod
        "Return the compiled method associated to the receiver or nil"
       
        | realClass |
        realClass := self parentType smalltalkClass.
        self hasClassScope
                ifTrue: [realClass := realClass class].
        ^ realClass isNil
                ifFalse: [realClass compiledMethodAt: self name asSymbol]
                ifTrue: [nil]
       
It is strange that we have to do the test hasClassScope in the  
compiledMethod method since normally smalltalk should correctly handle 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 742 in moose-technology: smalltalkClass and compiledMethod extensions should be covered by tests

moose-technology
Updates:
        Status:

Comment #1 on issue 742 by [hidden email]: smalltalkClass and  
compiledMethod extensions should be covered by tests
http://code.google.com/p/moose-technology/issues/detail?id=742

we integrated 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 742 in moose-technology: smalltalkClass and compiledMethod extensions should be covered by tests

moose-technology
Updates:
        Status: Fixed

Comment #2 on issue 742 by [hidden email]: smalltalkClass and  
compiledMethod extensions should be covered by tests
http://code.google.com/p/moose-technology/issues/detail?id=742

(No comment was entered for this change.)

_______________________________________________
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 742 in moose-technology: smalltalkClass and compiledMethod extensions should be covered by tests

moose-technology
Updates:
        Labels: Component-Famix Milestone-4.6

Comment #3 on issue 742 by [hidden email]: smalltalkClass and  
compiledMethod extensions should be covered by tests
http://code.google.com/p/moose-technology/issues/detail?id=742

Please do not forget to mark the issues with the appropriate labels (in  
particular the release).

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev