Skip to content

Commit

Permalink
Fix mistake in parent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Dec 12, 2024
1 parent 3cce581 commit b36c866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Alexandrie-Base/AeEnumeration.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ AeEnumeration class >> allValues [
AeEnumeration class >> initialize [
"We take the responsibility of initializing the whole hierarchy.
Why? To avoid duplication of initialize on each subclass.
However, we have to only initialize subclasses that define #enumDecl."
However, we have to only initialize subclasses that define #enumDecl on classSide."

self allSubclassesDo: [ :each |
(each includesSelector: #enumDecl)
(each classSide includesSelector: #enumDecl)
ifTrue: [ each initializeEnumeration ] ]
]

Expand Down

0 comments on commit b36c866

Please sign in to comment.