Bug 1052 – DMD 1.009 - aliasing functions from superclasses may result in incorrect conflicts

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2007-03-11T13:26:00Z
Last change time
2014-02-16T15:23:43Z
Keywords
rejects-valid
Assigned to
bugzilla
Creator
h3r3tic

Comments

Comment #0 by h3r3tic — 2007-03-11T13:26:01Z
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)
Comment #1 by benoit — 2007-03-17T11:43:40Z
This make version 1.009 unusable for me :(
Comment #2 by thomas-dloop — 2007-03-29T14:08:02Z
Comment #3 by bugzilla — 2007-04-11T22:00:12Z
Fixed dmd 1.011