Skip to content

Commit

Permalink
Merge pull request #16247 from jecisc/ring/fix-adding-slots
Browse files Browse the repository at this point in the history
Fix adding slots in Ring
  • Loading branch information
MarcusDenker committed Feb 26, 2024
2 parents 93b71b2 + fc72424 commit 2d71391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Ring-Core/RGPointerLayout.class.st
Expand Up @@ -62,9 +62,11 @@ RGPointerLayout >> isPointerLayout [

{ #category : 'resolving' }
RGPointerLayout >> makeResolved [

super makeResolved.

slots := self slots do: [ :each | each markAsRingResolved]
"We want to ensure we have an ordered collection because we can add slocts to the model and we cannot do it if it's an array"
slots := self slots asOrderedCollection do: [ :each | each markAsRingResolved ]
]

{ #category : 'private - backend access' }
Expand Down

0 comments on commit 2d71391

Please sign in to comment.