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
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// 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()
|
||||
}
|
||||
Reference in New Issue
Block a user