Introduce "redundant explicit type" inspection #KT-18517 Fixed
Reported cases: constants, constructors, object references
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0f4ae3b727
commit
f80f41d254
@@ -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>
|
||||
Reference in New Issue
Block a user