You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Jacob Carlborg (@jacob-carlborg) reported this on 2010-09-13T00:58:41Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=4857
Description
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.The text was updated successfully, but these errors were encountered: