Check componentN functions for override conflicts
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.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
trait T {
|
||||
fun component1(): Int
|
||||
}
|
||||
|
||||
data class A(val x: Int) : T
|
||||
Reference in New Issue
Block a user