Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 742 by usman.bh...@gmail.com: 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.
Updates: Status:
Comment #1 on issue 742 by stephane...@gmail.com: smalltalkClass and compiledMethod extensions should be covered by tests http://code.google.com/p/moose-technology/issues/detail?id=742
we integrated it
Updates: Status: Fixed
Comment #2 on issue 742 by stephane...@gmail.com: 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.)
Updates: Labels: Component-Famix Milestone-4.6
Comment #3 on issue 742 by tu...@tudorgirba.com: 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).