[Issue 1451] overloading methods by mixin in static if doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 5 14:45:26 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1451
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |timon.gehr at gmx.ch
Resolution| |WORKSFORME
--- Comment #3 from timon.gehr at gmx.ch 2012-03-05 14:45:26 PST ---
The errors in the two comments are by design.
Comment #1: mixin template members are hidden by members of the same name in
the surrounding scope.
Comment #2: mixin templates introduce distinct overload sets in order to
prevent accidental function hijacking.
The original bug report is valid, and the example code now compiles with DMD
2.058.
If anyone disagrees, please reopen.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list