Fixed testdata -- removed package import

This commit is contained in:
Stanislav Erokhin
2015-09-13 04:27:53 +03:00
parent 387d16d1d5
commit 8efbf4fc32
56 changed files with 58 additions and 219 deletions
@@ -6,7 +6,7 @@ val y : Any? = 2
// FILE: b.kt
package example
import example.ns
import example.ns.y
object Obj {
val y : Any? = 2
@@ -22,14 +22,8 @@ val x : Any? = 1
fun Any?.vars(<!UNUSED_PARAMETER!>a<!>: Any?) : Int {
var <!ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE!>b<!>: Int = 0
if (ns.y is Int) {
<!UNUSED_VALUE!>b =<!> <!DEBUG_INFO_SMARTCAST!>ns.y<!>
}
if (ns.y is Int) {
<!UNUSED_VALUE!>b =<!> <!DEBUG_INFO_SMARTCAST!>example.ns.y<!>
}
if (example.ns.y is Int) {
<!UNUSED_VALUE!>b =<!> <!DEBUG_INFO_SMARTCAST!>ns.y<!>
<!UNUSED_VALUE!>b =<!> <!DEBUG_INFO_SMARTCAST!>y<!>
}
if (example.ns.y is Int) {
<!UNUSED_VALUE!>b =<!> <!DEBUG_INFO_SMARTCAST!>example.ns.y<!>