www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13312] New: JSON output for function aliases have no target

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

          Issue ID: 13312
           Summary: JSON output for function aliases have no target
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: json
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: blah38621 gmail.com

Currently the JSON output for a function alias produces no target. Take for 
instance this alias in rt/arrayshort.d:

alias core.cpuid.mmx mmx;

Which is done to bring mmx as a local symbol into the module. The JSON output 
for it is as follows:

   {
    "name" : "mmx",
    "kind" : "alias",
    "line" : 36,
    "char" : 26
   },

Which has no indication what-so-ever of what the target of the alias was.

--
Aug 17 2014