Skip to content

Commit

Permalink
fixes #16082 and make sure we have a test that calls the method
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Feb 9, 2024
1 parent ddd5d95 commit d105e1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/Ring-Core-Tests/RGLayoutDefinitionTest.class.st
Expand Up @@ -124,7 +124,9 @@ RGLayoutDefinitionTest >> testNewLayouts [
{ #category : 'tests' }
RGLayoutDefinitionTest >> testResolvingConsistency [

| anObject |
anObject := RGPointerLayout unnamed.
self checkClassesConsistency: anObject and: anObject makeResolved
| layout |
layout := RGPointerLayout unnamed.

layout addSlot: ((RGInstanceVariableSlot unnamed) propertyNamed: #environment put: layout environment).
self checkClassesConsistency: layout and: layout makeResolved
]
3 changes: 1 addition & 2 deletions src/Ring-Core/RGPointerLayout.class.st
Expand Up @@ -62,10 +62,9 @@ RGPointerLayout >> isPointerLayout [

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

super makeResolved.

slots := self slots asOrderedCollection markAsRingResolved
slots := self slots do: [ :each | each markAsRingResolved]
]

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

0 comments on commit d105e1a

Please sign in to comment.