www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16611] New: std.traits.fullyQualifiedName fails with error


          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 puremagic.com
          Reporter: alexandru.ermicioi 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"

Oct 13 2016