Fix issue where function call within array was not executedD

This commit is contained in:
Elara 2021-03-05 19:38:05 -08:00
parent 53e0717b91
commit f7a34b3da4

View File

@ -151,7 +151,7 @@ func ParseValue(val *Value) (interface{}, error) {
// For each value in array
for _, value := range val.Array {
// Recursively parse value
iVal, err := ParseValue(value)
iVal, err := callIfFunc(ParseValue(value))
if err != nil {
return nil, err
}