Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix importer error #760

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ImportStubMethodSpecialTest >> setUp [
model: FamixStModel new;
addFromPackageNamed: #'Moose-TestResources-LAN';
yourself.
importingTask importingContext importSmalltalkStubMethod.
importingTask importingContext importStubMethod.
importingTask run.
model := importingTask model
]
Expand Down
10 changes: 5 additions & 5 deletions src/Moose-SmalltalkImporter/FamixStImporterContext.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ FamixStImporterContext class >> defineEntityDependencies [
with: self importingLocalVariable
with: self importingAccess
with: self importingArgument);
at: self importingSmalltalkStubMethod put: (Set with: self importingMethod with: self importingSmalltalkStubMethod)
at: self importingStubMethod put: (Set with: self importingMethod with: self importingStubMethod)
]

{ #category : #initialize }
Expand Down Expand Up @@ -150,7 +150,7 @@ FamixStImporterContext class >> importingPackage [
]

{ #category : #'basic representation' }
FamixStImporterContext class >> importingSmalltalkStubMethod [
FamixStImporterContext class >> importingStubMethod [

^#StubMethod
]
Expand Down Expand Up @@ -312,10 +312,10 @@ FamixStImporterContext >> importPackage [
]

{ #category : #'importing-filters' }
FamixStImporterContext >> importSmalltalkStubMethod [
FamixStImporterContext >> importStubMethod [
"Kind of a hack to import stub-methods in smalltalk"

self entityKindsToBeExtracted addAll: (self allDependentsOf: self class importingSmalltalkStubMethod)
self entityKindsToBeExtracted addAll: (self allDependentsOf: self class importingStubMethod)
]

{ #category : #'import options' }
Expand Down Expand Up @@ -456,7 +456,7 @@ FamixStImporterContext >> shouldImportPackage [
{ #category : #'importing queries' }
FamixStImporterContext >> shouldImportSmalltalkStubMethod [

^self shouldImport: self class importingSmalltalkStubMethod
^self shouldImport: self class importingStubMethod
]

{ #category : #'importing queries' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ FamixStPharoImporterTask >> defaultImportingContext [

| context |
context := FamixStImporterContext new importMaximum.
context entityKindsToBeExtracted remove: context class importingSmalltalkStubMethod.
context entityKindsToBeExtracted remove: context class importingStubMethod.
^ context
]

Expand Down
Loading