digitalmars.D.bugs - [Issue 7322] New: Taking address of deprecated functions isn't refused
- d-bugmail puremagic.com Jan 19 2012
- d-bugmail puremagic.com Jan 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7322 Summary: Taking address of deprecated functions isn't refused Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: accepts-invalid, diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2012-01-19 11:23:32 PST --- In DMD 2.058head std.string.rjustify is deprecated, so this program: import std.string; void main() { rjustify!string("hello", 10); } Gives the correct error message: test.d(3): Error: function std.string.rjustify!(string).rjustify is deprecated But this program gives no deprecated errors: import std.string; void main() { auto J = &rjustify!string; J("hello", 10); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7322 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |yebblies gmail.com Platform|x86 |All AssignedTo|nobody puremagic.com |yebblies gmail.com OS/Version|Windows |All --- Comment #1 from yebblies <yebblies gmail.com> 2012-02-01 15:00:40 EST --- https://github.com/D-Programming-Language/dmd/pull/670 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 31 2012








d-bugmail puremagic.com