Known limitations

Top  Previous  Next

 

There are situations that Pascal Analyzer currently cannot handle very well. Some of these limitations, but certainly not all, are:

 

1. Objects that are created through a class reference cannot always be resolved. The reason for this is that the actual class used is determined at runtime.

 

Example:

 

clip0133

 

 

2. Methods that are marked as abstract in a base class and used in that class, cannot be resolved:

 

Example:

 

clip0134

 

 

The actual usage of Proc is determined at runtime.

 

3. Assert calls are not excluded from the parsing process, unlike in Delphi, regardless if the $C- setting is active or not. This means that identifiers used in the Assert procedure call, will be registered, and appear in the reports.

 

Example:

 

clip0135

 

The parameter P will be registered and appear in the reports. When compiled by Delphi, this code line will be stripped out if $C- is defined.

 

4. Identifiers with generic parameters are in the reports written out on a special format:

 

Example:

 

clip0136

 

.. will be written as

 

clip0137

 

 

 

See also: