[Issue 12909] [AA] Function is incorrectly inferred as strongly pure for associative array with key of non-mutable array or pointer as argument
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jun 13 02:23:39 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12909
Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |12910
Summary|[AA] Function is |[AA] Function is
|incorrectly inferred as |incorrectly inferred as
|strongly pure for |strongly pure for
|associative array with |associative array with key
|immutable array keys as |of non-mutable array or
|argument |pointer as argument
--- Comment #1 from Denis Shelomovskij <verylonglogin.reg at gmail.com> ---
Correction:
The issue is triggered in case of AA key being a non-mutable array or pointer,
e.g.: `const(int[])[int]` or `const(int*)[int]`.
--
More information about the Digitalmars-d-bugs
mailing list