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:
Alexander Udalov
2012-08-31 20:47:17 +04:00
parent c29312043c
commit fbeaaf5fbb
9 changed files with 112 additions and 4 deletions
@@ -0,0 +1,5 @@
trait T {
fun component1(): Int
}
data class A(val x: Int) : T