-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
With the following expression the value of a sub key shall be changed. But by mistake the expression contains a negative index:
${params}[-1]['B'][0]['C'] : 130
The result is a parameter with name
${params}[-1]['B'][0]['C']
and value 130.
But expected is error message: Slicing not supported.
Critical line needs to be placed inside "params":
"params" : [
11,
{"A" : 12,
"B" : [
{
"C" : 13,
${params}[-1]['B'][0]['C'] : 130,
Slicing is detected properly in case of the critical line is placed outside "params".
Similar to: #412