Thread overview
[Issue 1052] New: DMD 1.009 - aliasing functions from superclasses may result in incorrect conflicts
Mar 11, 2007
d-bugmail
Mar 17, 2007
d-bugmail
Mar 29, 2007
d-bugmail
Apr 12, 2007
d-bugmail
March 11, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1052

           Summary: DMD 1.009 - aliasing functions from superclasses may
                    result in incorrect conflicts
           Product: D
           Version: 1.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: h3r3tic@mat.uni.torun.pl


1.009 was not in the list, so i picked 1.008 as the DMD version.

// superalias.d:

class Base {
        void func(int a) {}
}


class Foo : Base {
        alias Base.func func;
}


class Bar : Foo {
        alias Foo.func func;
        void func(char[] a) {}
}

// ----

superalias.d(7): alias superalias.Foo.func conflicts with superalias.Bar.func
at superalias.d(13)


-- 

March 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1052





------- Comment #1 from benoit@tionex.de  2007-03-17 11:43 -------
This make version 1.009 unusable for me :(


-- 

March 29, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1052


thomas-dloop@kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows                     |All




------- Comment #2 from thomas-dloop@kuehne.cn  2007-03-29 14:08 -------
Added to DStress as http://dstress.kuehne.cn/run/o/overload_28_A.d


-- 

April 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1052


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #3 from bugzilla@digitalmars.com  2007-04-11 22:00 -------
Fixed dmd 1.011


--