QualifiedExpressionResolver: change root prefix from _Qfadj4tPV to _root_ide_package_
This commit is contained in:
@@ -789,11 +789,11 @@ class QualifiedExpressionResolver(val languageVersionSettings: LanguageVersionSe
|
||||
*
|
||||
* fun test(a: Any) {
|
||||
* a.A() // invalid code -> incorrect import/completion/etc.
|
||||
* _Qfadj4tPV.a.A() // OK
|
||||
* _root_ide_package_.a.A() // OK
|
||||
* }
|
||||
* ---------
|
||||
*/
|
||||
const val ROOT_PREFIX_FOR_IDE_RESOLUTION_MODE = "_Qfadj4tPV"
|
||||
const val ROOT_PREFIX_FOR_IDE_RESOLUTION_MODE = "_root_ide_package_"
|
||||
const val ROOT_PREFIX_FOR_IDE_RESOLUTION_MODE_WITH_DOT = "$ROOT_PREFIX_FOR_IDE_RESOLUTION_MODE."
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package a
|
||||
|
||||
class Goo {
|
||||
fun x() {
|
||||
<selection>_Qfadj4tPV.a.b.foo()</selection>
|
||||
<selection>_root_ide_package_.a.b.foo()</selection>
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
|
||||
fun f(s: <selection>_Qfadj4tPV.same.same</selection>) {
|
||||
fun f(s: <selection>_root_ide_package_.same.same</selection>) {
|
||||
}
|
||||
Reference in New Issue
Block a user