Introduce "redundant explicit type" inspection #KT-18517 Fixed

Reported cases: constants, constructors, object references
This commit is contained in:
Mikhail Glukhikh
2017-06-22 18:05:12 +03:00
committed by Mikhail Glukhikh
parent 0f4ae3b727
commit f80f41d254
29 changed files with 302 additions and 0 deletions
@@ -0,0 +1,8 @@
<html>
<body>
This inspection reports local variables' explicitly given types which are obvious and thus redundant, like
<pre><code>
val f: Foo = Foo()
</code></pre>
</body>
</html>