[Issue 5941] Using inner struct which references nested function in a no-attribute or auto-return member function causes "nested function cannot be accessed" error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 21 23:30:27 PST 2011


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid


--- Comment #3 from Don <clugdbug at yahoo.com.au> 2011-12-21 23:30:26 PST ---
In bug 5939, Walter explicitly stated that the test case is comment 2 is not a
bug. However, the fact that it compiles if the function 'get' is removed, or if
attributes are added to get(), is surely a bug. Based on Walter's comment, it
should never compile. So I'm marking as accepts-invalid.

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