Skip to content

Commit 5c1a3dd

Browse files
Fix FamixTClass >> inheritedAttributes
1 parent ab3c0f7 commit 5c1a3dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Famix-Traits/FamixTClass.trait.st

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ FamixTClass >> inheritedAttributes [
9999

100100
| inheritedAttrs |
101101
inheritedAttrs := OrderedCollection new.
102-
self allSuperclassesDo: [ :each |
103-
inheritedAttrs addAll: (each isClass
104-
ifTrue: [ each ]
105-
ifFalse: [ each parameterizableClass ]) attributes ].
102+
self allSuperclassesDo: [ :each |
103+
inheritedAttrs addAll: (each isParametricEntity
104+
ifTrue: [ each genericEntity ]
105+
ifFalse: [ each ]) attributes ].
106106
^ inheritedAttrs
107107
]
108108

0 commit comments

Comments
 (0)