Implement members: fix it works correctly if primary constructor has implemented member
#KT-37312 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
5eabc1117f
commit
e455e926aa
@@ -0,0 +1,10 @@
|
||||
// "Implement members" "true"
|
||||
// WITH_RUNTIME
|
||||
abstract class B {
|
||||
abstract val p: String?
|
||||
abstract fun test()
|
||||
}
|
||||
|
||||
<caret>class MyImpl(
|
||||
override val p: String? = null
|
||||
) : B()
|
||||
Reference in New Issue
Block a user