Beef
Beef copied to clipboard
Compiler error
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;
}