[Issue 7205] Function attribute inference fails in case of mutual dependencies

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 27 05:07:57 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7205


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid, spec


--- Comment #1 from timon.gehr at gmx.ch 2012-06-27 05:10:28 PDT ---
Apparently the spec has been changed to document the buggy behaviour.

function.html:
"Cyclic functions (i.e. functions that wind up directly or indirectly calling
themselves) are inferred as being impure, throwing, and @system."

Therefore this is now both a spec and a compiler bug.

-- 
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