FIR IDE: move low level api testdata sources to the analysis directory

This commit is contained in:
Ilya Kirillov
2021-09-14 16:39:48 +02:00
parent 633b0fa612
commit 989f3248e4
371 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
package a;
public interface KtDeclaration extends KtElement {
}
@@ -0,0 +1,4 @@
package a
interface KtElement : KtPureElement {
}
@@ -0,0 +1,3 @@
package a
open class KtFile
@@ -0,0 +1,6 @@
package a;
public interface KtPureElement {
KtFile getContainingKtFile();
}
@@ -0,0 +1,5 @@
FILE: main.kt
public final val R|a/KtElement|.fqNameWithoutCompanions: R|a/KtFile|
public get(): R|a/KtFile| {
^ this@R|/fqNameWithoutCompanions|.R|a/KtPureElement.containingKtFile|
}
@@ -0,0 +1,4 @@
import a.*
val KtDeclaration.fqNameWithoutCompanions: KtFile
get() = containingKtFile
@@ -0,0 +1,8 @@
{
"modules" : [
{ "name": "main", "dependsOn": ["dependency"] },
{ "name": "dependency" }
],
"fileToResolve": { "module": "main", "file": "main.kt" },
"fails": true
}