Thread overview
[Issue 2540] New: super can not be using in alias statement
Dec 23, 2008
d-bugmail
May 21, 2009
Koroskin Denis
Jul 03, 2011
yebblies
Aug 13, 2011
Walter Bright
December 23, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2540

           Summary: super can not be using in alias statement
           Product: D
           Version: 2.022
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: 2korden@gmail.com


class A
{
    void foo() {}
}

class B : A
{
    // alias super.foo foo;
    alias A.foo foo;
    void foo(int i) {}
}

test.d(8): basic type expected, not super
test.d(8): no identifier for declarator int
test.d(8): semicolon expected to close alias declaration
test.d(8): Declaration expected, not 'super'


-- 

May 19, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2540


Jarrett Billingsley <jarrett.billingsley@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jarrett.billingsley@gmail.c
                   |                            |om




--- Comment #1 from Jarrett Billingsley <jarrett.billingsley@gmail.com>  2009-05-19 09:56:53 PDT ---
I'd really like this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 21, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2540





--- Comment #2 from Koroskin Denis <2korden@gmail.com>  2009-05-21 06:34:36 PDT ---
Vote up!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 03, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2540


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |yebblies@gmail.com
           Platform|x86                         |All
         OS/Version|Windows                     |All


--- Comment #3 from yebblies <yebblies@gmail.com> 2011-07-03 17:57:22 EST ---
https://github.com/D-Programming-Language/dmd/pull/199

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2540


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2011-08-13 00:11:46 PDT ---
https://github.com/D-Programming-Language/dmd/commit/078cd689872eddbe7a18411fcae16b2c129671ca

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