[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class B : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/B|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final val x: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public constructor(x: R|kotlin/Int|, y: R|kotlin/String|): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class B : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/B|
|
||||
|
||||
}
|
||||
|
||||
public final enum class E : R|kotlin/Enum<test/E>| {
|
||||
public final val x: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final val y: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
private constructor(x: R|kotlin/String|, y: R|kotlin/Int|): R|test/E|
|
||||
|
||||
public final static fun values(): R|kotlin/Array<test/E>| {
|
||||
}
|
||||
|
||||
public final static fun valueOf(value: R|kotlin/String|): R|test/E| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
compiler/fir/analysis-tests/testData/loadCompiledKotlin/annotations/parameters/ExtensionFunction.txt
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
public final fun R|kotlin/Int|.foo(x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final fun R|kotlin/String|.foo(x: R|kotlin/Int|): R|kotlin/Int|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var R|kotlin/Int|.foo: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final fun foo(x: R|kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
public abstract interface Trait : R|kotlin/Any| {
|
||||
public open fun foo(x: R|kotlin/String|): R|kotlin/Int|
|
||||
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public final val s: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(s: R|kotlin/String|): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final class Outer : R|kotlin/Any| {
|
||||
public constructor(): R|test/Outer|
|
||||
|
||||
public final inner class Inner : R|kotlin/Any| {
|
||||
public final val y: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(y: R|kotlin/String|): R|test/Outer.Inner|
|
||||
|
||||
}
|
||||
|
||||
public final class Nested : R|kotlin/Any| {
|
||||
public final val x: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public constructor(x: R|kotlin/String|): R|test/Outer.Nested|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
public final fun bar(x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final fun foo(x: R|kotlin/Int|, y: R|kotlin/Double|, z: R|kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class B : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/B|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class C : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/C|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class D : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/D|
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final class Class : R|kotlin/Any| {
|
||||
public final var foo: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/Class|
|
||||
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
public final fun foo(x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
public final annotation class B : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/B|
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user