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
type
t1 = class
static function operator=(a,b: t1) := true;
end;
t2 = class(t1) end;
t3 = class(t2) end;
begin
Println(new t2 = new t2); // True
Println(new t3 = new t3); // False
end.
Для второго сравнения использует IL оператор ceq, вместо вызова пользовательского оператора сравнения из t1.
The text was updated successfully, but these errors were encountered:
Для второго сравнения использует IL оператор
ceq
, вместо вызова пользовательского оператора сравнения изt1
.The text was updated successfully, but these errors were encountered: