Files
kotlin-fork/idea/testData/quickfix/modifiers/nestedDataClass.kt
T
Ilya Kirillov bd38363077 FIR IDE: use IGNORE_FIR instead of FIR_COMPARISON in hl quick fix tests
To explicitly specify which test are failing
2021-04-01 18:24:17 +02:00

10 lines
237 B
Kotlin
Vendored

// "Add 'inner' modifier" "false"
// ACTION: Create test
// ERROR: Class is not allowed here
// ERROR: Data class must have at least one primary constructor parameter
class A() {
inner class B() {
data class <caret>C
}
}