FIR IDE: move low level api testdata sources to the analysis directory
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package a;
|
||||
|
||||
public interface KtDeclaration extends KtElement {
|
||||
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package a
|
||||
|
||||
interface KtElement : KtPureElement {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package a
|
||||
|
||||
open class KtFile
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package a;
|
||||
|
||||
public interface KtPureElement {
|
||||
KtFile getContainingKtFile();
|
||||
}
|
||||
|
||||
analysis/low-level-api-fir/testdata/multiModuleLazyResolve/javaExtendsKotlinExtendsJava/expected.txt
Vendored
+5
@@ -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|
|
||||
}
|
||||
analysis/low-level-api-fir/testdata/multiModuleLazyResolve/javaExtendsKotlinExtendsJava/main/main.kt
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import a.*
|
||||
|
||||
val KtDeclaration.fqNameWithoutCompanions: KtFile
|
||||
get() = containingKtFile
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"modules" : [
|
||||
{ "name": "main", "dependsOn": ["dependency"] },
|
||||
{ "name": "dependency" }
|
||||
],
|
||||
"fileToResolve": { "module": "main", "file": "main.kt" },
|
||||
"fails": true
|
||||
}
|
||||
Reference in New Issue
Block a user