Take data flow info from delegation call

This commit is contained in:
Denis Zharkov
2015-03-04 16:28:24 +03:00
parent aa5599f6ca
commit 9d2d3c0c7b
4 changed files with 41 additions and 12 deletions
@@ -0,0 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(x: Any, y: Any, z: Any) {}
constructor(x: String?, y: String?): this(x!!, <!DEBUG_INFO_SMARTCAST!>x<!>.length().toString() + y!!, "") {
<!DEBUG_INFO_SMARTCAST!>x<!>.length() + <!DEBUG_INFO_SMARTCAST!>y<!>.length()
}
}
@@ -0,0 +1,9 @@
package
internal final class A {
public constructor A(/*0*/ x: kotlin.Any, /*1*/ y: kotlin.Any, /*2*/ z: kotlin.Any)
public constructor A(/*0*/ x: kotlin.String?, /*1*/ y: kotlin.String?)
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}