[Issue 5105] Member function template cannot be synchronized

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 29 13:04:07 PST 2011


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


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

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


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-01-29 13:01:56 PST ---
The patch works for a simplified test case:

void main()
{
    auto c = new C;
    c.foo(10);
}
synchronized class C
{
    void foo(T)(T a) {}
}

Since DMD2.051, the original test case hits bug 5504.

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