[Issue 16611] New: std.traits.fullyQualifiedName fails with error 'Unrecognized type const(void)'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 13 14:59:08 PDT 2016


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

          Issue ID: 16611
           Summary: std.traits.fullyQualifiedName fails with error
                    'Unrecognized type const(void)'
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: alexandru.ermicioi at gmail.com

fullyQualifiedName fails to execute on following code:

--------------------
import std.traits;

enum auto test = fullyQualifiedName!(const(void));

--------------------

The error produced by it, is:
Error: static assert  "Unrecognized type const(void), can't convert to fully
qualified string"

--


More information about the Digitalmars-d-bugs mailing list