Skip to content

Commit

Permalink
[Bug]: action comparison
Browse files Browse the repository at this point in the history
We were only looking at part of the state - species and action - which caused some actions to overshadow others. In fact, since these are mutable, we are better off sticking with identity comparison
  • Loading branch information
seandenigris committed Jan 14, 2024
1 parent 7687c26 commit a45b459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Magritte-Model/MAActionDescription.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ MAActionDescription >> <= anObject [

{ #category : #comparing }
MAActionDescription >> = anObject [
^ super = anObject and: [ self action = anObject action ]
^ self == anObject
]

{ #category : #accessing }
Expand Down

0 comments on commit a45b459

Please sign in to comment.