mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Check if newly generated component functions happen to override something which they're not supposed to. Create new slice to store mapping from annotation descriptors to corresponding PSI elements, which is used by override checker to report errors in data classes on.
6 lines
68 B
Kotlin
6 lines
68 B
Kotlin
trait T {
|
|
fun component1(): Int
|
|
}
|
|
|
|
data class A(val x: Int) : T
|