There should be a runtime check in the AA code that prevents from using floating point NaN as key value, as this value doesn't compare equal to itself.
Comment #1 by dlang-bugzilla — 2014-10-07T00:05:10Z
See also issue 13420
Comment #2 by robert.schadek — 2024-12-07T13:34:24Z