Files
kotlin-fork/analysis/analysis-api/testData/symbols/symbolByReference/libraryDataClass_component.kt
T
Roman Golyshev c1ea878e52 KT-64808 [stubs] Add extra tests for synthethic declarations from data and value classes
It's not related to the stubs format changes, but there were no tests
for that in symbols resolve tests
2024-02-23 10:51:28 +00:00

13 lines
239 B
Kotlin
Vendored

// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
data class DataClass(val name: String)
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.DataClass) {
instance.<caret>component1()
}