Bug? opIn with associative array keyed on static arrays

Peter Alexander peter.alexander.au at gmail.com
Sun Jul 22 19:42:45 UTC 2018


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


More information about the Digitalmars-d mailing list