Closed
Description
The only call to Preferences
in USourceGen
is in TSourceGen.UnitAsString
, which gets details of warning compiler directives. Despite TSourceGen.UnitAsString
already having numerous parameters, it would be better to pass warnings to this method as a parameter and then remove UPreferences
from the USourceGen
's unit clause.