Skip to content

Commit

Permalink
[feenkcom/gtoolkit#4072] Switch storing refactored methods in a singl…
Browse files Browse the repository at this point in the history
…e package to making the change in-place.
  • Loading branch information
akgrant43 committed Oct 15, 2024
1 parent c336ca7 commit 944b8dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GtStrictSymbolInstallation >> initializeFfiCallout [
{ #category : #'as yet unclassified' }
GtStrictSymbolInstallation >> installFromFile: aFileReference [

self createExtensionPackage.
"self createExtensionPackage."
self loadEqualityStatsFromFile: aFileReference.
self refactorEqualityCalls.
"self refactorDictionaryReferences.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,14 @@ GtStrictSymbolRefactor >> originalAst [

{ #category : #'as yet unclassified' }
GtStrictSymbolRefactor >> refactor [
| protocol |

"protocol := self class refactoredExtensionPackageName."
protocol := self method protocol.
(self shouldRefactor and: [ self isChanged ]) ifFalse: [ ^ self ].
self method methodClass
compile: self refactoredAst sourceCode
classified: self class refactoredExtensionPackageName.
classified: protocol.
]

{ #category : #refactoring }
Expand Down

0 comments on commit 944b8dc

Please sign in to comment.