August 07, 2020 [Issue 21132] New: Ff two keys in an associative array literal are equal | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21132 Issue ID: 21132 Summary: Ff two keys in an associative array literal are equal Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dlang.org Assignee: nobody@puremagic.com Reporter: porton@narod.ru https://dlang.org/spec/expression.html#associative_array_literals forgets to say what happens if two keys in an associative array literal are equal. An experiments with D shows that the last value "wins". -- |
Copyright © 1999-2021 by the D Language Foundation