[Issue 5006] 'pure' unenforced in a nested function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 27 01:55:23 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-10-27 01:54:01 PDT ---
This is the same issue as bug 4640 (and I think I've seen it somewhere else as
well). It's a parsing issue.
Placing the attribute after the parameter list works.

int bar(int y) pure { .... }

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