Inspectopedia
 
2024.3

Obvious explicit type

Warning
New
Last modified: 03 December 2024

Reports local variables' explicitly given types which are obvious and thus redundant, like val f: Foo = Foo().

Example:

After the quick-fix is applied: