AA behaves differently in CTFE?
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 24 06:23:40 PST 2015
On 11/24/15 2:59 AM, Bastiaan Veelo wrote:
> On Tuesday, 24 November 2015 at 07:54:24 UTC, Bastiaan Veelo wrote:
>> This results TRUE at compile time, but FALSE at run time.
>
> Sorry, that should be the reverse: TRUE at run time, FALSE at compile
> time. Compile time exhibits the unexpected behaviour.
If CTFE associative arrays perform differently, then that is a bug. I am
not sure if this is the case, but you should file a bug anyway, someone
can take a look at it.
If you can narrow it down to a minimal case where it breaks down, that
would be helpful.
-Steve
More information about the Digitalmars-d-learn
mailing list