RFindUnit
RFindUnit copied to clipboard
Unused units and simple type
First, thanks for killer feature! 👍
I have unit with type:
TVATID = type string;
TVATIDHelper = record helper for TVATID
but RFU points this unit as unused.

Other example with:
type
TSearchCompanyResult = UInt32;
or from Spring4D:
TIncomingDataAdapterFactory = IFactory<IIncomingDataAdapter>;
..strange, because this is recognized:
TIncomingDataAdapterFactory = reference to function : IIncomingDataAdapter;
Next wrong behavior:

wow about the first case I just checked and the problem is with the DelphiAst project, I'm gonna open a bug there. There second one, I solved that already maybe the code is lost some where, I check it.
Try again for the first case
second just sent too
I was about to report the first case. When a unit contains a class helper or record helper (my projects have a lot), the unit is marked as unused.
I hope that AST project can fix it soon.
Thank you!