Skip to content

Commit f89f49c

Browse files
Merge pull request #760 from moosetechnology/fix-import-error
Fix importer error. Fix moosetechnology/MooseIDE#1056
2 parents 43ec039 + f8a1042 commit f89f49c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Moose-SmalltalkImporter-LAN-Tests/ImportStubMethodSpecialTest.class.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ImportStubMethodSpecialTest >> setUp [
1919
model: FamixStModel new;
2020
addFromPackageNamed: #'Moose-TestResources-LAN';
2121
yourself.
22-
importingTask importingContext importSmalltalkStubMethod.
22+
importingTask importingContext importStubMethod.
2323
importingTask run.
2424
model := importingTask model
2525
]

src/Moose-SmalltalkImporter/FamixStImporterContext.class.st

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ FamixStImporterContext class >> defineEntityDependencies [
5656
with: self importingLocalVariable
5757
with: self importingAccess
5858
with: self importingArgument);
59-
at: self importingSmalltalkStubMethod put: (Set with: self importingMethod with: self importingSmalltalkStubMethod)
59+
at: self importingStubMethod put: (Set with: self importingMethod with: self importingStubMethod)
6060
]
6161

6262
{ #category : #initialize }
@@ -150,7 +150,7 @@ FamixStImporterContext class >> importingPackage [
150150
]
151151

152152
{ #category : #'basic representation' }
153-
FamixStImporterContext class >> importingSmalltalkStubMethod [
153+
FamixStImporterContext class >> importingStubMethod [
154154

155155
^#StubMethod
156156
]
@@ -312,10 +312,10 @@ FamixStImporterContext >> importPackage [
312312
]
313313

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

318-
self entityKindsToBeExtracted addAll: (self allDependentsOf: self class importingSmalltalkStubMethod)
318+
self entityKindsToBeExtracted addAll: (self allDependentsOf: self class importingStubMethod)
319319
]
320320

321321
{ #category : #'import options' }
@@ -456,7 +456,7 @@ FamixStImporterContext >> shouldImportPackage [
456456
{ #category : #'importing queries' }
457457
FamixStImporterContext >> shouldImportSmalltalkStubMethod [
458458

459-
^self shouldImport: self class importingSmalltalkStubMethod
459+
^self shouldImport: self class importingStubMethod
460460
]
461461

462462
{ #category : #'importing queries' }

src/Moose-SmalltalkImporter/FamixStPharoImporterTask.class.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ FamixStPharoImporterTask >> defaultImportingContext [
103103

104104
| context |
105105
context := FamixStImporterContext new importMaximum.
106-
context entityKindsToBeExtracted remove: context class importingSmalltalkStubMethod.
106+
context entityKindsToBeExtracted remove: context class importingStubMethod.
107107
^ context
108108
]
109109

0 commit comments

Comments
 (0)