Files
kotlin-fork/analysis/analysis-api/testData/symbols/symbolByReference/libraryValueClass_toString.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

14 lines
251 B
Kotlin
Vendored

// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
@JvmInline
value class ValueClass(val name: String)
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.ValueClass) {
instance.<caret>toString()
}