[Lazarus] Identifier not found, but code completion works....

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Feb 22 00:58:41 CET 2011


Alexander Klenin schrieb:

> So, Florian, how about adding a compiler hint or warning for circular
> dependencies?

Circular unit references occur in most real-life code, so that according 
hints are quite useless. If ever, such a feature should at least allow 
to suppress warnings about well known and unbreakable loops. But even 
then the compiler cannot give useful hints, about *where* unwanted loops 
can be broken up.

The only really useful feature is the detection of unneeded unit 
references, and this feature already exists: Editor context menu -> 
Refactoring -> Show unused units.

DoDi





More information about the Lazarus mailing list