[Lazarus] A big thank you!
sysrpl at gmail.com
Wed Nov 4 20:12:26 CET 2015
Ondrej, do you think you could look at this CodeTools issue which has been
sitting around for a while?
Basically what happens is you can define a type which refers to itself
"type IBitmap = interface(ICloneable<IBitmap>)". If you ever try to use
code insight (Ctrl+ Space after a dot) on that type, CodeTools jumps out of
whatever file you're in and takes you to the definition of what it thinks
is a bad type. A red error is put into the messages window.
procedure TForm1.Button1Click(Sender: TObject);
FBitmap. // Press [Ctrl + Space] after the dot and CodeTools takes you
out of this file
// .. more code
*Red error in the message window* clonebug.pas(13,34) Error: identifier not
And here is an example of a file which offends CodeTools:
ICloneable<T> = interface
function Clone: T;
IBitmap = interface(ICloneable<IBitmap>) // CodeTools takes you here with
an error message
function Clone: IBitmap;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus