So richtig passt das hier nicht her - aber wie werden Namenskollisionen im with eigentlich aufgelöst?
Delphi-Quellcode:
TFoo = class
property Foo2: TFoo2;
procedure DoSomething;
end;
TFoo2 = class
property Bar: TBar;
procedure DoSomething;
end;
TBar = class
procedure DoSomething;
end;
Foo: TFoo;
with Foo do
with Foo2 do
with Bar do
DoSomething;
Was wird aufgerufen? Mein Tipp wäre doSomething von TBar?