Summary: Missing shared overloads in object
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: druntime

--- Comment #0 from Jacob Carlborg <> 2010-09-13 00:58:41 PDT ---
The object module should overload appropriate functions and methods with the
shared qualifier. For example, the following doesn't not compile:

class Foo
     private Object value;

     synchronized bool hasValue (Object val)
         return value == val;

Because opEquals in object doesn't accept shared parameters.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to