Files
kotlin-fork/idea/testData/quickfix/abstract/makeInlineClassAbstract.kt
T
Tianyu Geng 56854a8b1a FIR IDE: register quickfix for the following
1. NON_ABSTRACT_FUNCTION_WITH_NO_BODY
  2. ABSTRACT_PROPERTY_IN_NON_ABSTRACT_CLASS
  3. ABSTRACT_FUNCTION_IN_NON_ABSTRACT_CLASS
2021-02-19 13:16:42 +01:00

14 lines
424 B
Kotlin
Vendored

// "Make 'A' 'abstract'" "false"
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): String defined in I
// ERROR: Primary constructor is required for inline class
// ACTION: Create test
// ACTION: Implement members
// ACTION: Extract 'A' from current file
// ACTION: Rename file to A.kt
interface I {
fun foo(): String
}
inline class A<caret> : I
/* FIR_COMPARISON */