digitalmars.D.bugs - [Issue 4161] New: disable after function signature has no effect
- d-bugmail puremagic.com (27/27) May 05 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4161
- d-bugmail puremagic.com (12/12) Jul 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=4161
http://d.puremagic.com/issues/show_bug.cgi?id=4161 Summary: disable after function signature has no effect Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k-foley onu.edu DMD 2.045 int main(string[] args) { void func() disable {} func(); return 0; } --- This compiles without any problems. I don't know whether this should mark the function as disabled or whether it should flag a compile error for misusing disable. Regardless, I don't think it should accept this code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 05 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4161 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |simen.kjaras gmail.com Resolution| |FIXED PDT --- This has been fixed, but I do not know when. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 27 2012