pascalabcnet/TestSuite/with1.pas
Mikhalkovich Stanislav 4cec1e7c43 fix #3299
Revert incorrect pr intellisense
2025-07-13 13:13:29 +03:00

17 lines
231 B
ObjectPascal

type TClass = class
a: integer;
end;
begin
var obj := new TClass;
with obj do
begin
a := 2;
assert(a = 2);
end;
var lst := Lst(1,2,3);
with lst do
begin
assert(Count = 3);
end;
end.