2012-5-24 23:19
Duńczyk
Problem with "Clean Unused Units Reference"
Latest version CnPack contain an error in the "Clean Unused Units Reference".
A few examples:
[u]First unit:
[/u]uses
kspladminh, uprstale,
ExQuery, WizytaFunctions;
Clean unused units log:
Implementation Uses: ExQuery,WizytaFunctions
[b]Result:[/b]
uses
kspladminh, uprstale WizytaFunctions;
Comma disappeared, but remained WizytaFunctions!
--------------------------------
After manual correction - again invoked the cleaning:
uses
kspladminh, uprstale, WizytaFunctions;
Clean unused units log:
Implementation Uses: WizytaFunctions
[b]Result:[/b]
uses
kspladminh, uprstale, WizytaFunctions;
The last unit is not removed. I checked many other similar cases.
--------------------------------
[u]Second unit:[/u]
uses
comctrls, IniFiles, mkplcommon, funconvert, FunSQLBuild,
PSCommonStr, PSCommonClasses,GenQuery;
Clean unused units log:
Implementation Uses: FunConvert,FunSQLBuild,MKPLCommon,PSCommonClasses,PSCommonStr
[b]Result:[/b]
uses
comctrls, [color=Red]IniFilesnQuery[/color];
In this case, not only disappeared a comma. Also removed a few characters of a unit name!
I checked in versions 0.9.9.629 and 0.9.9.633.