Skip to content

Commit

Permalink
Allow concatenation of CompositeAnnotationContext subclasses too
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Jan 15, 2020
1 parent 4df65cb commit fe248af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClassAnnotation/CompositeAnnotationContext.class.st
Expand Up @@ -31,7 +31,7 @@ CompositeAnnotationContext class >> with: contextCollection [

{ #category : #converting }
CompositeAnnotationContext >> , anAnnotationContext [
^ CompositeAnnotationContext with: (parts copyWith: anAnnotationContext asAnnotationContext)
^ self class with: (parts copyWith: anAnnotationContext asAnnotationContext)
]

{ #category : #comparing }
Expand Down

0 comments on commit fe248af

Please sign in to comment.