Skip to content

Commit

Permalink
Better distinguigh between temporaries and parameters [feenkcom/gtool…
Browse files Browse the repository at this point in the history
  • Loading branch information
chisandrei committed Nov 6, 2024
1 parent 212df5e commit 0767a9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Class {
}

{ #category : #'instance creation' }
GtInspectorContextNamedTempNode class >> hostObject: aContext tempName: aString tempIndex: anInteger [
GtInspectorContextNamedTempNode class >> hostObject: aContext tempName: aTempName tempIndex: anInteger [
^ (self hostObject: aContext)
tempName: aString;
tempName: aTempName;
tempIndex: anInteger;
variableTag: ((aContext method argumentNames includes: aString)
variableTag: ((aContext hasMethodOrBlockParameterNamed: aTempName)
ifTrue: [ 'parameter' ]
ifFalse: [ 'temporary' ])
yourself
Expand Down

0 comments on commit 0767a9d

Please sign in to comment.