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.
Comment #1 by robert.schadek — 2024-12-07T13:31:10Z