mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
Override/Implement: Drop 'impl' modifier for non-impl class members
#KT-18469 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
header abstract class Bar {
|
||||
abstract fun foo()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
header abstract class Bar {
|
||||
abstract fun foo()
|
||||
}
|
||||
8
idea/testData/multiModuleQuickFix/implementMembersInImplClassNonImplInheritor/jvm/jvm.kt
vendored
Normal file
8
idea/testData/multiModuleQuickFix/implementMembersInImplClassNonImplInheritor/jvm/jvm.kt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// "Implement members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
abstract impl class Bar {
|
||||
abstract impl fun foo()
|
||||
}
|
||||
|
||||
class <caret>X : Bar()
|
||||
12
idea/testData/multiModuleQuickFix/implementMembersInImplClassNonImplInheritor/jvm/jvm.kt.after
vendored
Normal file
12
idea/testData/multiModuleQuickFix/implementMembersInImplClassNonImplInheritor/jvm/jvm.kt.after
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// "Implement members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
abstract impl class Bar {
|
||||
abstract impl fun foo()
|
||||
}
|
||||
|
||||
class X : Bar() {
|
||||
override fun foo() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user