Add "Redundant enum constructor invocation" inspection

#KT-29321 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-04 12:21:35 +09:00
committed by Mikhail Glukhikh
parent 542d3c3532
commit e8a8bc89c9
11 changed files with 141 additions and 0 deletions
@@ -0,0 +1,14 @@
<html>
<body>
This inspection reports redundant enum entry constructor invocation:
<pre>
enum class Foo {
A(), // This '()' is redundant.
B(),
C
}
</pre>
</body>
</html>