There was an error while loading. Please reload this page.
1 parent 53ed074 commit 0662a0cCopy full SHA for 0662a0c
1 file changed
src/FAST-Core-Model-Extension/FASTEntity.extension.st
@@ -43,6 +43,6 @@ FASTEntity >> sourceText [
43
"I should be overriden in my users"
44
45
^ (self atScope: FamixTHasImmediateSource)
46
- ifNotEmpty: [ :sources | sources anyOne source ]
47
- ifEmpty: [ nil ]
+ ifNotEmpty: [ :sources | sources anyOne source ifNil: [ '' ] ]
+ ifEmpty: [ '' ]
48
]
0 commit comments