Empty array process function (#9977)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2025-09-30 21:05:59 +07:00
committed by GitHub
parent 80886e8201
commit 5fa0bb3c64
17 changed files with 147 additions and 13 deletions
+4 -1
View File
@@ -198,6 +198,9 @@ export default mergeIds(processId, process, {
AddResult: '' as IntlString,
For: '' as IntlString,
Attribute: '' as IntlString,
Context: '' as IntlString
Context: '' as IntlString,
EmptyArray: '' as IntlString,
ExecutionInitiator: '' as IntlString,
ExecutionStarted: '' as IntlString
}
})
+1 -1
View File
@@ -297,7 +297,7 @@ function getContextFunctions (
switch (category) {
case 'array': {
if (func.category === 'array') {
if (hierarchy.isDerived(func.of, target)) {
if (hierarchy.isDerived(func.of, target) || func.of === core.class.ArrOf) {
matched.push(func._id)
}
}