Files
kotlin-fork/idea/testData/quickfix/abstract/makeInlineClassAbstract.kt
T
Mark Punzalan e9298d1d71 FIR IDE: Allow FIR-specific "after" files for
AbstractHighLevelQuickFixTest.
2021-03-23 11:04:33 +01:00

13 lines
423 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 */