Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Compiler error

Open jayrulez opened this issue 1 year ago • 0 comments

The compiler fails to compile this block of code:

public static void AtomicDetach<T>(ref alloctype(T) d) where T : var
    {
        if(d.@ref == 1)
        {
            return;
        }

        var x = d;
        d = new T(d);
        if ([email protected]())
            delete x;
    }

jayrulez avatar Apr 05 '23 19:04 jayrulez