You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when the mapping constructor is used in other expression contexts, it keeps giving different different diagnostic messages of the same variant of the above. e.g.,
bar({
"1": [1.2, 3],
"1": [5.6, 7]
});
error: invalid usage of null literal: duplicate key '1'
Description
Consider the following:
We get the following error message for the above:
But when the mapping constructor is used in other expression contexts, it keeps giving different different diagnostic messages of the same variant of the above. e.g.,
error:
invalid usage of null literal: duplicate key '1'
error:
invalid usage of boolean literal: duplicate key '1'
error:
invalid usage of string literal: duplicate key '1'
Steps to Reproduce
No response
Affected Version(s)
2201.5.0
2201.2.3
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: