www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13200] New: Assertion `protName' failed

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

          Issue ID: 13200
           Summary: Assertion `protName' failed
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: sfrijters gmail.com

With dmd v2.066-b5:

module bug;

enum Test;

void main() {
  auto foo = __traits(getProtection, Test);
}

dmd: traits.c:395: Expression* semanticTraits(TraitsExp*, Scope*): Assertion
`protName' failed.
Aborted

--
Jul 24 2014