Check componentN functions for overload conflicts

This commit is contained in:
Alexander Udalov
2012-09-03 21:09:28 +04:00
parent fbeaaf5fbb
commit 67211fde40
3 changed files with 12 additions and 1 deletions
@@ -0,0 +1,4 @@
data class A(val x: Int, val y: String) {
<!CONFLICTING_OVERLOADS!>fun component1()<!> = 1
<!CONFLICTING_OVERLOADS!>fun component2()<!> = 2
}