Skip to content

Missing error on duplicated key in map literal #32983

@askeksa-google

Description

@askeksa-google

Iff all keys in a map literal are compile-time constants, it is a compile-time error if two keys are equal.

Caught by language_2/compile_time_constant_o_test.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions