📄 testwarndestroy.out
字号:
unit TestWarnDestroy;
interface
type
TFoo = class
public
destructor Destroy; override;
procedure TestCreate;
end;
implementation
{ TFoo }
destructor TFoo.Destroy;
begin
// this is not a warning
inherited Destroy;
end;
procedure TFoo.TestCreate;
var
lcFoo: TFoo;
begin
lcFoo := TFoo.Create;
// this is a warning
lcFoo.Destroy;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -