Skip to content

Commit

Permalink
FIx tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Oct 27, 2019
1 parent f2522bb commit a036e60
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/Gofer-Core/RPackageSet.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@ Extension { #name : #RPackageSet }

{ #category : #'*Gofer-Core' }
RPackageSet >> classesAndMetaClasses [
^ self
collectFromAllPackages: [ :p |
OrderedCollection new
addAll: p definedClasses;
addAll: (p definedClasses collect: [ :each | each classSide ]);
yourself ]
^ self packages
flatCollect: [ :p | p definedClasses , (p definedClasses collect: [ :each | each classSide ]) ]
]

{ #category : #'*Gofer-Core' }
RPackageSet >> coreCategoriesForClass: aClass [
^ self
collectFromAllPackages: [ :p | p organization categories reject: [ :cat | p isForeignClassExtension: cat ] ]
with: aClass
^ self packages
flatCollect: [ :p | aClass organization categories reject: [ :cat | p isForeignClassExtension: cat ] ]
]

0 comments on commit a036e60

Please sign in to comment.