Skip to content

Commit

Permalink
Merge pull request pharo-vcs#1749 from MarcusDenker/use-selector-not-…
Browse files Browse the repository at this point in the history
…keyword

iceberg was still using keyword, not selector, for Pragmas
  • Loading branch information
jecisc authored Nov 21, 2023
2 parents 2e64076 + bd4e69d commit c4d6283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Iceberg-Libgit/IceLibgitRepository.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ IceLibgitRepository class >> libgitErrorHandlerSelector [
This selector is mainly used by architectural rules to ensure that libgit is being called correctly."
^ (self methods detect: [ :each |
each pragmas anySatisfy: [ :pragma | pragma keyword = self libgitErrorHandlerPragmaSelector ] ]) selector
each pragmas anySatisfy: [ :pragma | pragma selector = self libgitErrorHandlerPragmaSelector ] ]) selector
]

{ #category : 'rules' }
Expand All @@ -90,8 +90,8 @@ IceLibgitRepository class >> libgitRepositoryHandleAccessorPragmaSelector [

{ #category : 'rules' }
IceLibgitRepository class >> libgitRepositoryHandleAccessors [

^ self allMethods select: [ :m | m pragmas anySatisfy: [ :p | p keyword = self libgitRepositoryHandleAccessorPragmaSelector ] ]
^ self allMethods select: [ :m | m pragmas anySatisfy: [ :p | p selector = self libgitRepositoryHandleAccessorPragmaSelector ] ]
]

{ #category : 'accessing' }
Expand Down

0 comments on commit c4d6283

Please sign in to comment.