May 05, 2010 [Issue 4161] New: @disable after function signature has no effect | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Kyle Foley <k-foley@onu.edu> 2010-05-05 15:08:01 PDT --- 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: ------- |
July 27, 2012 [Issue 4161] @disable after function signature has no effect | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kyle Foley | 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 --- Comment #1 from Simen Kjaeraas <simen.kjaras@gmail.com> 2012-07-27 15:13:55 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: ------- |
Copyright © 1999-2021 by the D Language Foundation