Skip to content

[ 2374943 ] Error messages (38) #347

@HolQue

Description

@HolQue

Within the third line of

"param1"   : "A",
"testdict" : {"A" : 1, "B" : 2},
${testdict}["${param1}"] : 3

by mistake I use double quotes instead of single quotes around ${param1}.

The error message is:

Error: 'Invalid key name: "]". Key names have to start with a letter, digit or underscore.'!

This is not really helpful. Is it possible to improve the error handling in this case?

I am currently not sure, but it seems to me that \[\".*?\"\] is invalid at the left hand side of the colon in every case.

A possible error message could give the hint to use single quotes instead of double quotes.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions