Remove check "unused secondary enum class constructor"

#KT-14040 Fixed
This commit is contained in:
Dmitry Gridin
2019-03-26 12:21:39 +07:00
parent dbe0b4aa71
commit d64702d87e
3 changed files with 18 additions and 0 deletions
@@ -0,0 +1,12 @@
// PROBLEM: none
enum class MyEnum(val i: Int) {
HELLO(42),
WORLD("42")
;
constructor<caret>(s: String): this(42)
}
fun test() {
MyEnum.HELLO
}