Delphi Error – E2429 Duplicate implementation for ‘set of %s’ in this scope

Delphi Compiler Error

E2429 Duplicate implementation for ‘set of %s’ in this scope

Reason for the Error & Solution

To avoid this error, declare an explicit set type identifier instead of using in-place anonymous set expressions.