[Issue 8413] function breaks compilation of property function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 22 14:59:24 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|enforce breaks compilation  |function breaks compilation
                   |of property function        |of property function


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-07-22 14:59:23 PDT ---
Actually it has nothing to do with enforce, same error:

void test(bool) { }

struct Foo
{
    int[] arr;

    @property int front(string file = __FILE__, size_t line = __LINE__)()
    {
        test(arr.length);
        return arr.front; 
    }
}

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