KT-2350 fix: enums with overrides and constructor parameters
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
enum class A(val b: String) {
|
||||
E1: A("OK"){ override fun t() = b }
|
||||
|
||||
abstract fun t(): String
|
||||
}
|
||||
|
||||
fun box()= A.E1.t()
|
||||
Reference in New Issue
Block a user