[Issue 6541] New: using synchronized on a templated method crashes the compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 20 19:06:08 PDT 2011


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

           Summary: using synchronized on a templated method crashes the
                    compiler
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: transmethyl+dmd at gmail.com


--- Comment #0 from wolfwood <transmethyl+dmd at gmail.com> 2011-08-20 19:06:06 PDT ---
Created an attachment (id=1019)
a testcase for compiling a static synchronized method

seems related to issue 5664, but not as trivial a fix.

attached code show how a normal static synchronized method compiles just fine,
but a templated version fails.

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