Inspectopedia
 
2024.3

Function call can be replaced with set literal

Warning
New
Last modified: 03 December 2024

Reports calls to the set function that can be replaced with the set literal.

Example:

When the quick-fix is applied, the code changes to: