Skip to content

[ 2374907 ] Leading zeros in decimal integer (2) #414

@HolQue

Description

@HolQue

With the following expression the value of a list element shall be changed. But by mistake the key '026' contains an additional minus character:

${params}[1]['B'][0]['J'][-'026'][1]['028'][0] : "0290",

This line is placed outside "params".

Result:

'Could not set parameter '${params}[1]['B'][0]['J'][-'026'][1]['028'][0]' with value '0290'! Reason: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers (<string>, line 1)'

Expected is a syntax error.

Maybe related to:
#413
#350

Similar error with additional minus character between index 1 and key '028':

${params}[1]['B'][0]['J']['026'][1]-['028'][0] : "0290",

'Could not set root key element '{'028': '! Reason: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers (<string>, line 1)'

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions