Fix ScriptVariables parsing

This commit is contained in:
barsdeveloper
2024-09-14 22:54:09 +02:00
parent 3f0185fca5
commit 5ea4d75a81
4 changed files with 43 additions and 47 deletions

View File

@@ -33,8 +33,7 @@ export default class ArrayEntity extends IEntity {
if ((trailing !== undefined) !== Self.trailing) {
Self = Self.flagTrailing(trailing !== undefined)
}
const result = new Self(values)
return result
return new Self(values)
}).label(`ArrayEntity of ${this.type?.className() ?? "unknown values"}`)
}