TFoo = class
strict private type
TBar = record
Some: String;
end;
public
procedure AddBar(ABar: TBar);
end;
Czemu to się kompiluje? rozumiem , że w sumie klasa jest poprawna, ale nie ma sensu. Czy to nie powinno chociaż warna zgłosić? Wydaje mi się ze Visual nie pozwala na takei rzeczy