Add "Redundant enum constructor invocation" inspection
#KT-29321 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
542d3c3532
commit
e8a8bc89c9
@@ -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>
|
||||
Reference in New Issue
Block a user