Bug? opIn with associative array keyed on static arrays

Peter Alexander peter.alexander.au at gmail.com
Mon Jul 23 07:49:21 UTC 2018


On Sunday, 22 July 2018 at 19:42:45 UTC, Peter Alexander wrote:
> void main() {
> 	int[int[1]] aa;
> 	aa[[2]] = 1;
> 	assert([2] in aa);
> }
>
> ---
>
> This assertion fails in 2081.1. Is this a bug?
>
> https://dpaste.dzfl.pl/d4c0d4607482

https://issues.dlang.org/show_bug.cgi?id=19112


More information about the Digitalmars-d mailing list