KT-2643 Support multi-declarations in Data-Flow analysis

#KT-2643 fixed
This commit is contained in:
Svetlana Isakova
2012-08-20 18:48:09 +04:00
parent f817eba7aa
commit 8860bab9f1
17 changed files with 126 additions and 24 deletions
@@ -9,7 +9,7 @@ class MyClass2 {}
<!CONFLICTING_OVERLOADS!>fun MyClass2.component1()<!> = 1.2
<!CONFLICTING_OVERLOADS!>fun MyClass2.component1()<!> = 1.3
fun test(<!UNUSED_PARAMETER!>mc1<!>: MyClass, <!UNUSED_PARAMETER!>mc2<!>: MyClass2) {
fun test(mc1: MyClass, mc2: MyClass2) {
val (a, b) = <!COMPONENT_FUNCTION_MISSING, COMPONENT_FUNCTION_MISSING!>mc1<!>
val (c) = <!COMPONENT_FUNCTION_AMBIGUITY!>mc2<!>