KT-1702 Renaming file causes "Operation not supported" and invalid imports

(Rename problem was caused because of invalid reference to file from package. Fix contains:
 - Change structure of references in package expression - last part is also a reference now
 - Resolve packages to expression but not to files)

  #KT-1702 fixed
This commit is contained in:
Nikolay Krasko
2012-04-06 14:46:23 +04:00
parent 1372d70466
commit 4d19fd05b1
25 changed files with 119 additions and 143 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// FILE: f.kt
~a~package a
package ~a~a
import java.*
~a.a~val a : util.List<Int>? = null