qtspecs icon indicating copy to clipboard operation
qtspecs copied to clipboard

Duplicate keys in map constructor

Open michaelhkay opened this issue 6 months ago • 3 comments

We say (concerning map constructors)

If two or more entries have the [same key value] then a dynamic error is raised [[err:XQDY0137].

I think we should say:

if every MapKeyExpr is a Literal then this error SHOULD be reported as a static error.

michaelhkay avatar Aug 10 '24 13:08 michaelhkay