[Issue 11517] New: Allow generic "BasicType" in alias this declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 12:44:16 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11517

           Summary: Allow generic "BasicType" in alias this declaration
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2013-11-14 12:44:14 PST ---
Just like a standard alias, as opposed to only "Identifier".

Right now:
AliasThisDeclaration:
    alias Identifier this

Request:
AliasThisDeclaration:
    alias Identifier this
    alias BasicType this

See also:
https://d.puremagic.com/issues/show_bug.cgi?id=8735

For example:
struct Foo
{
    int test(string op)() { return 0; }
    alias test!"*" this;
}

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


More information about the Digitalmars-d-bugs mailing list