www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9464] New: Redo .json output

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9464

           Summary: Redo .json output
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bugzilla digitalmars.com



12:51:32 PST ---
This file should demonstrate the listed issues (and a few more):

---------------------------------------------------------
module test.json;                 // adds package list
// a pretty verbose reference to the module itself is added quite often
throughout the module

                                  // object always listed as import (good?
bad?)
import std.ascii;                 // name is "std", but module is "test.json"!?
import stdstring = std.string;    // name is "stdstring", std.string not shown
import std.algorithm : min, max;  // name is "__anonymous", min/max not
specified
static import std.array;          // kind "static import"

class TestClass
{
    void func1(int a) // shows identical "type" and "originalType"
    {                 // with a type dictionary, parameters names should be
removed
    }

    int func(string s1, string s2) // shows both "type" and "originalType",
with different argument types
    {                 // "string" in originalType contains "idents" : [],
        return 0;     // and identical "identifier" and "rawIdentifier"
    }
}

mixin template Mix(T)
{
    T mixmember;
}

class DerivedClass : TestClass
{
    mixin Mix!int;                // listed as "mixin", but mixmember not added

    override void func1(int a)    // "overrides" contains full type ad
originalType of TestClass.func1
    {
        int b = min(a, 0);        // adds "template instance" "min!(int, int,
)"
    }
}

static assert("test" != "Test");  // adds "static assert" entry without any
sensible info

void main()
{
}
-----------------------------

-- reported by Rainer Schuetze

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9464




12:52:11 PST ---
https://github.com/D-Programming-Language/dmd/pull/1632

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9464




Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f90db718452f0cfdae5fbf690dba01625abb8f56
redo json output for issue 9464

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 07 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9464


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com



Is this sufficiently fixed?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 21 2013