[Issue 14151] New: AA byKey/byValue unavailable for CTFE

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 8 12:37:09 PST 2015


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

          Issue ID: 14151
           Summary: AA byKey/byValue unavailable for CTFE
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: peter.alexander.au at gmail.com

enum x = [1:2].byKey.front;

object.di(467): Error: _aaRange cannot be interpreted at compile time, because
it has no available source code

Expected: should be available (.keys and .values are).

--


More information about the Digitalmars-d-bugs mailing list