Skip to content

Commit 56eb69c

Browse files
committed
Add log
1 parent b300b92 commit 56eb69c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/BaselineOfFAST/BaselineOfFAST.class.st

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ BaselineOfFAST >> ensureMoose12Compatibility [
7272
"FAST v3 works on Moose 12 and Moose 13. Since we are using some methods of Moose 13, I ensure we have everything needed. Delete me once Moose 12 support will be dropped."
7373

7474
| class |
75+
'Ensuring compatibility methods' traceCr.
7576
class := self class environment at: #TEntityMetaLevelDependency.
7677

7778
(class includesSelector: #containersOfType:) ifFalse: [
@@ -80,5 +81,12 @@ BaselineOfFAST >> ensureMoose12Compatibility [
8081
"I am used to return all the first encountered entities at a given famix class scope that are up in the containment tree of the metamodel"
8182
8283
^ self query containers ofType: aType'
84+
classified: '*FAST-Moose12-Compatibility' ].
85+
86+
(class includesSelector: #containedEntities) ifFalse: [
87+
class
88+
compile: 'containedEntities
89+
90+
^ self children'
8391
classified: '*FAST-Moose12-Compatibility' ]
8492
]

0 commit comments

Comments
 (0)