Bart schrieb:

Now press Shift+Ctrl+C and voila codetools insert this code:

procedure TX.SomeProc;
begin
  inherited SomeProc;
end;

Which will (of course) not compile:
"test.lpr(32,21) Error: Abstract methods can't be called directly"

My fault, or a minor minor minor annoyance?

It's liveable, I'd say. At least the compiler warns you, when you really forget to add meaningful code.

It's still better than other codetools behaviour, which don't recognize methods or fields in grandparents.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to