[LL FIR] merge innerDeclarationsResolve testData to fileStructure
^KT-60728
This commit is contained in:
committed by
Space Team
parent
bba1eeac82
commit
b1b123efc0
+2
-2
@@ -1,5 +1,5 @@
|
||||
fun x() {
|
||||
fun x() {/* ReanalyzableFunctionStructureElement */
|
||||
val x = object: Any() {
|
||||
fun foo(){}
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] callInsideLambdaInsideSuperCallAndExplicitConstructor.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|() -> kotlin/Unit|): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|B| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|B|>(Int(1), [ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo|()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] callInsideLambdaInsideSuperCallAndImplicitConstructor.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|() -> kotlin/Unit|): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|B| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|B|>(Int(1), [ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo|()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|() -> kotlin/Unit|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] i: R|kotlin/Int|): R|B| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo|(R|<local>/i|)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] l: R|kotlin/Long|): R|B| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo|(R|<local>/l|)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] any: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|() -> kotlin/Unit|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] i: R|kotlin/Int|): R|B| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo|(R|<local>/i|)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] any: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] class.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Int| {
|
||||
^y Int(10)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
fun q(): C {/* ReanalyzableFunctionStructureElement */}
|
||||
private val y = q()/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
fun foo(a: A) = with(a) {
|
||||
bar("a", y)
|
||||
}/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] class.kt
|
||||
FILE: [ResolvedTo(IMPORTS)] class2.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] class.kt
|
||||
FILE: [ResolvedTo(IMPORTS)] class2.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
@@ -0,0 +1,22 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] classMemberProperty.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
^ this@R|/X|.F|/X.x|
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
this@R|/X|.F|/X.x| = R|<local>/value|
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val y: R|kotlin/Int| = Int(42)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var z: R|kotlin/Int| = Int(15)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] constructorParameter.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int| = R|<local>/x|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
class A(val x: String)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] constructorParameter.kt
|
||||
FILE: [ResolvedTo(IMPORTS)] constructorParameter2.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/String|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] constructorParameterWithAnnotations.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@PROPERTY:R|Ann|[Types]() field:@FIELD:R|Ann|[Types]() public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int| = R|<local>/x|
|
||||
@PROPERTY_GETTER:R|Ann|[Types]() public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
@PROPERTY_SETTER:R|Ann|[Types]() public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] @SETTER_PARAMETER:R|Ann|[Types]() value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] annotation class Ann : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Ann| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] constructors.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Int|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val a: R|kotlin/Int| = R|<local>/a|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
this<R|A|>(Int(1))
|
||||
}
|
||||
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] danglingAnnotationClassLevel.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Foo| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Bar : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Bar| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Outer : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Inner : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer.Inner| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class Local : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer.Local| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] danglingAnnotationTopLevel.kt
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
val a = run {
|
||||
val a = myRun {
|
||||
class X()
|
||||
|
||||
val y = 10
|
||||
}/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
}
|
||||
|
||||
inline fun <R> run(block: () -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
inline fun <R> myRun(block: () -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return block()
|
||||
}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] declarationsInPropertyInit.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val a: R|kotlin/Unit| = R|/myRun|<R|kotlin/Unit|>(<L> = [ResolvedTo(BODY_RESOLVE)] myRun@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] lval y: R|kotlin/Int| = Int(10)
|
||||
}
|
||||
)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public final inline [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] R> myRun([ResolvedTo(BODY_RESOLVE)] block: R|() -> R|): R|R| {
|
||||
^myRun R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
enum class Enum(val x: Int)/* NonReanalyzableNonClassDeclarationStructureElement */ {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
A(1),/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] enumClass.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] enum class A : R|kotlin/Enum<A>| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Enum<A>|>()
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry X: R|A|
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry Y: R|A|
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry Z: R|A|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun bar(): R|kotlin/Int| {
|
||||
^bar Int(10)
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] fun values(): R|kotlin/Array<A>| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] fun valueOf([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/String|): R|A| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] val entries: R|kotlin/enums/EnumEntries<A>|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/enums/EnumEntries<A>|
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] enumClassWithBody.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] enum class A : R|kotlin/Enum<A>| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Enum<A>|>()
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry X: R|A| = object : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|<anonymous>| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun localInX(): R|kotlin/Int| {
|
||||
^localInX Int(1)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry Y: R|A| = object : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|<anonymous>| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
public open override [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry Z: R|A|
|
||||
public open [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] fun values(): R|kotlin/Array<A>| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] fun valueOf([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/String|): R|A| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] val entries: R|kotlin/enums/EnumEntries<A>|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/enums/EnumEntries<A>|
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun main() {/* ReanalyzableFunctionStructureElement */
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun bar(a: Int, b: (Boolean) -> Unit) {/* ReanalyzableFunctionStructureElement */
|
||||
|
||||
}
|
||||
|
||||
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
fun foo(x: String, y: () -> String) {/* ReanalyzableFunctionStructureElement */
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import java.util.Collections
|
||||
|
||||
fun <T> checkSubtype(t: T) = t/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
|
||||
val ab = checkSubtype<List<Int>?>(Collections.emptyList<Int>())/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
@@ -0,0 +1,13 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] functionalType.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int| = Int(10), [ResolvedTo(BODY_RESOLVE)] b: R|kotlin/String|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = R|<local>/x|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val b: R|kotlin/String| = R|<local>/b|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] initBlock.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
init {
|
||||
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = Int(10)
|
||||
local final [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(RAW_FIR)] constructor(): R|A.B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
val x = run {
|
||||
val x = myRun {
|
||||
val inLambda = 10
|
||||
println(inLambda)
|
||||
inLambda
|
||||
@@ -7,3 +7,7 @@ val x = run {
|
||||
fun println(any: Any) {/* ReanalyzableFunctionStructureElement */
|
||||
|
||||
}
|
||||
|
||||
inline fun <R> myRun(block: () -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return block()
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] lambda.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = R|/myRun|<R|kotlin/Int|>(<L> = [ResolvedTo(BODY_RESOLVE)] myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
|
||||
[ResolvedTo(BODY_RESOLVE)] lval inLambda: R|kotlin/Int| = Int(10)
|
||||
R|/println|(R|<local>/inLambda|)
|
||||
^ R|<local>/inLambda|
|
||||
}
|
||||
)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun println([ResolvedTo(BODY_RESOLVE)] any: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
}
|
||||
public final inline [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] R> myRun([ResolvedTo(BODY_RESOLVE)] block: R|() -> R|): R|R| {
|
||||
^myRun R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
fun foo(a: Int) = with(a) {
|
||||
toString().let { it }
|
||||
}/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
val a: Int = 10/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
val x = with(a) {
|
||||
toString().let { it }
|
||||
}/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {/* ReanalyzableFunctionStructureElement */
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
fun foo() {/* ReanalyzableFunctionStructureElement */
|
||||
val a = with(1) {
|
||||
this.let { it }
|
||||
}.let { 2 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun a(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Y : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Y| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun b(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class Z : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Y.Z| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun x() {/* ReanalyzableFunctionStructureElement */
|
||||
class Local {
|
||||
fun foo(){}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
||||
FILE: [ResolvedTo(IMPORTS)] localClass2.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class Local : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Local| {
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localDeclarationsInAccessor.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Outer : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val i: R|kotlin/Int| = Int(1)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class Inner : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer.Inner| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var i: R|kotlin/Int| = Int(2)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: R|kotlin/Int| = this@R|/Outer.Inner|.F|<local>/i|
|
||||
this@R|/Outer.Inner|.F|<local>/i| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
^ this@R|/Outer.Inner|.F|<local>/i|
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val j: R|kotlin/Int| = Int(3)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
this@R|/Outer.Inner|.F|<local>/j| = Int(42)
|
||||
^ this@R|/Outer.Inner|.F|<local>/j|
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun innerMember(): R|kotlin/Unit| {
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: R|kotlin/Int| = this@R|/Outer|.F|/Outer.i|
|
||||
this@R|/Outer|.F|/Outer.i| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
^ this@R|/Outer|.F|/Outer.i|
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val j: R|kotlin/Int| = Int(4)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun local(): R|kotlin/Unit| {
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: R|kotlin/Int| = this@R|/Outer|.F|/Outer.j|
|
||||
this@R|/Outer|.F|/Outer.j| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
{
|
||||
[ResolvedTo(BODY_RESOLVE)] lval <unary>: R|kotlin/Int| = this@R|/Outer|.F|/Outer.j|
|
||||
this@R|/Outer|.F|/Outer.j| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
||||
R|<local>/<unary>|
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
R|<local>/local|()
|
||||
^ this@R|/Outer|.F|/Outer.j|
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localFun.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun z(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun q(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionWithImplicitType.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun local(): R|kotlin/Int| {
|
||||
^local Int(0)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localProperty.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
[ResolvedTo(BODY_RESOLVE)] lvar x: R|kotlin/Int|
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun q(): R|kotlin/Unit| {
|
||||
[ResolvedTo(BODY_RESOLVE)] lval y: R|kotlin/Int| = Int(42)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B.C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun u(): R|kotlin/Unit| {
|
||||
[ResolvedTo(BODY_RESOLVE)] lvar z: R|kotlin/Int| = Int(15)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] localUnitFunction.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun local(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(local))
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] memberFunctions.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo1(): R|kotlin/Int| {
|
||||
^foo1 Int(10)
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo2(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] memberProperties.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo1(): R|kotlin/Int| {
|
||||
^foo1 Int(10)
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo2(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] memberTypeAlias.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias X = R|kotlin/Int|
|
||||
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] multipleTopLevelClasses.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class D : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|D| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] multipleTopLevelFunctionsWithImplicitTypes.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo1(): R|kotlin/Int| {
|
||||
^foo1 Int(1)
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo2(): R|kotlin/Int| {
|
||||
^foo2 Int(2)
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo3(): R|kotlin/Int| {
|
||||
^foo3 Int(3)
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo4(): R|kotlin/Int| {
|
||||
^foo4 Int(4)
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] multipleTopLevelUnitFunctions.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo1(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(foo1))
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo2(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(foo2))
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo3(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(foo3))
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo4(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(foo4))
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] nestedClases.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] object C : R|kotlin/Any| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class D : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.C.D| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] nestedClasesWithFun.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] nestedClasses.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class C : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.B.C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class E : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A.E| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Int| {
|
||||
^y Int(10)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] propertyAccessors.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
^ F|/x|
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
F|/x| = R|<local>/value|
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var y: R|kotlin/Int| = Int(10)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
^ this@R|/X|.F|/X.y|
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
this@R|/X|.F|/X.y| = R|<local>/value|
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
abstract class Foo {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
abstract var id: Int/* ReanalyzablePropertyStructureElement */
|
||||
protected set
|
||||
}
|
||||
|
||||
class Bar : Foo() {/* NonReanalyzableClassDeclarationStructureElement */
|
||||
override var id: Int = 1/* ReanalyzablePropertyStructureElement */
|
||||
public set
|
||||
}
|
||||
|
||||
fun test() {/* ReanalyzableFunctionStructureElement */
|
||||
val bar = Bar()
|
||||
bar.id = 1
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] qualifiedCallInsideSuperCall.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] init: R|A.() -> kotlin/Unit|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/String| = String()
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] object B : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^ Unit
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] object C : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|C| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class D : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|D| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class E : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|E| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class F : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] error_constructor(): R|F| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|F| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class G : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] error_constructor(): R|G| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|G| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class H : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|H| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] secondaryConstructor.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int| = Int(10), [ResolvedTo(BODY_RESOLVE)] b: R|kotlin/String|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = R|<local>/x|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val b: R|kotlin/String| = R|<local>/b|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] i: R|kotlin/Int|): R|A| {
|
||||
this<R|A|>(x = Int(1), b = R|<local>/i|.R|kotlin/Int.toString|())
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] superCallAnnotation.kt
|
||||
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Anno| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|@R|Anno|() A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|@R|Anno|() A|>()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] superCallAnnotation2.kt
|
||||
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Anno| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public abstract [ResolvedTo(BODY_RESOLVE)] interface A : R|kotlin/Any| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|@R|Anno|() A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] superClassCall.kt
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] init: R|A.() -> kotlin/Unit|): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/String| = String()
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class B : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|B| {
|
||||
super<R|A|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] object C : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|C| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val f: R|A| = object : R|A| {
|
||||
private [ResolvedTo(BODY_RESOLVE)] constructor(): R|<anonymous>| {
|
||||
super<R|A|>([ResolvedTo(BODY_RESOLVE)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun bar(): R|kotlin/String| {
|
||||
^bar Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|A|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class D : R|A| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] error_constructor(): R|D| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
|
||||
^foo Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|D| {
|
||||
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
local final [ResolvedTo(RAW_FIR)] fun boo(): R|kotlin/String| {
|
||||
^boo this@R|special/anonymous|.R|/A.prop|.R|kotlin/String.toString|()
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] superType.kt
|
||||
public abstract [ResolvedTo(BODY_RESOLVE)] interface A<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias AS = R|A<kotlin/String>|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class C : R|AS| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|C| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelExpressionBodyFunWithType.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo Int(42)
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelExpressionBodyFunWithoutType.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo Int(42)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelFunWithType.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
<Unresolved name: println>#(String())
|
||||
^foo Int(10)
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelProperty.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
^ F|/x|
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
F|/x| = R|<local>/value|
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val y: R|kotlin/Int| = Int(42)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var z: R|kotlin/Int| = Int(15)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
@@ -0,0 +1,4 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelUnitFun.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String())
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] typeAlias.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias A = <ERROR TYPE REF: Incomplete code>
|
||||
@@ -0,0 +1,37 @@
|
||||
FILE: [ResolvedTo(IMPORTS)] withoutName.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <no name provided>([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Int| = Int(1)): R|kotlin/String| {
|
||||
^<no name provided> String(str)
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <no name provided>(): R|kotlin/Unit| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val <no name provided>: R|kotlin/Int| = Int(4)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var <no name provided>: R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int| {
|
||||
^ Int(4)
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <no name provided>([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Int| = Int(1)): R|kotlin/String| {
|
||||
^<no name provided> String(str)
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <no name provided>(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val <no name provided>: R|kotlin/Int| = Int(4)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var <no name provided>: R|kotlin/Boolean|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Boolean| {
|
||||
^ Boolean(true)
|
||||
}
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
class B {
|
||||
fun q(): C {}
|
||||
private val y = q()
|
||||
|
||||
fun foo(a: A) = with(a) {
|
||||
bar("a", y)
|
||||
}
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
class A(val x: String)
|
||||
@@ -1,3 +0,0 @@
|
||||
enum class Enum(val x: Int) {
|
||||
A(1),
|
||||
}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
fun main() {
|
||||
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
fun bar(a: Int, b: (Boolean) -> Unit) {
|
||||
|
||||
}
|
||||
|
||||
class A {
|
||||
fun foo(x: String, y: () -> String) {
|
||||
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
import java.util.Collections
|
||||
|
||||
fun <T> checkSubtype(t: T) = t
|
||||
|
||||
val ab = checkSubtype<List<Int>?>(Collections.emptyList<Int>())
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class B {
|
||||
fun foo(a: Int) = with(a) {
|
||||
toString().let { it }
|
||||
}
|
||||
}
|
||||
Vendored
-14
@@ -1,14 +0,0 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class B {
|
||||
val a: Int = 10
|
||||
val x = with(a) {
|
||||
toString().let { it }
|
||||
}
|
||||
}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
inline fun <T, R> with(receiver: T, block: T.() -> R): R {
|
||||
return receiver.block()
|
||||
}
|
||||
|
||||
inline fun <T, R> T.let(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
class A {
|
||||
fun foo() {
|
||||
val a = with(1) {
|
||||
this.let { it }
|
||||
}.let { 2 }
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
fun x() {
|
||||
class Local {
|
||||
fun foo(){}
|
||||
}
|
||||
}
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
var withGetterAndSetter: Int = 42
|
||||
get() = field
|
||||
set(value) {
|
||||
field = value
|
||||
}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
abstract class Foo {
|
||||
abstract var id: Int
|
||||
protected set
|
||||
}
|
||||
|
||||
class Bar : Foo() {
|
||||
override var id: Int = 1
|
||||
<caret>public set
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val bar = Bar()
|
||||
bar.id = 1
|
||||
}
|
||||
+72
@@ -24,6 +24,12 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
@@ -54,6 +60,12 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
@@ -66,6 +78,12 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
@@ -96,6 +114,12 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -108,6 +132,24 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
@@ -126,12 +168,36 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
@@ -228,6 +294,12 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
|
||||
+72
@@ -24,6 +24,12 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
@@ -54,6 +60,12 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
@@ -66,6 +78,12 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
@@ -96,6 +114,12 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -108,6 +132,24 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
@@ -126,12 +168,36 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
@@ -228,6 +294,12 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
|
||||
+72
@@ -24,6 +24,12 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
@@ -54,6 +60,12 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
@@ -66,6 +78,12 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
@@ -96,6 +114,12 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -108,6 +132,24 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
@@ -126,12 +168,36 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
@@ -228,6 +294,12 @@ public class SourceDiagnosticTraversalCounterTestGenerated extends AbstractSourc
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
|
||||
+72
@@ -24,6 +24,12 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
@@ -54,6 +60,12 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
@@ -66,6 +78,12 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
@@ -96,6 +114,12 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -108,6 +132,24 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
@@ -126,12 +168,36 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
@@ -228,6 +294,12 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
|
||||
+72
@@ -24,6 +24,12 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
@@ -54,6 +60,12 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
@@ -66,6 +78,12 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
@@ -96,6 +114,12 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -108,6 +132,24 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
@@ -126,12 +168,36 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
@@ -228,6 +294,12 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
|
||||
+292
-16
@@ -16,89 +16,365 @@ import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/innerDeclarationsResolve")
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/fileStructure")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class OutOfContentRootInnerDeclarationsResolvePhaseTestGenerated extends AbstractOutOfContentRootInnerDeclarationsResolvePhaseTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInInnerDeclarationsResolve() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/innerDeclarationsResolve"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInFileStructure() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/annonymousClass.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/class.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter.kt")
|
||||
public void testConstructorParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/constructorParameter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationClassLevel.kt")
|
||||
public void testDanglingAnnotationClassLevel() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationClassLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationTopLevel.kt")
|
||||
public void testDanglingAnnotationTopLevel() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationsInPropertyInit.kt")
|
||||
public void testDeclarationsInPropertyInit() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/enum.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassWithBody.kt")
|
||||
public void testEnumClassWithBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/funWithoutTypes.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/functionValueParameter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/functionWithImplicitType.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initBlock.kt")
|
||||
public void testInitBlock() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdaInImplicitFunBody.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdaInImplicitPropertyBody.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdasInWithBodyFunction.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/localClass.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localProperty.kt")
|
||||
public void testLocalProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localUnitFunction.kt")
|
||||
public void testLocalUnitFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctions.kt")
|
||||
public void testMemberFunctions() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberProperties.kt")
|
||||
public void testMemberProperties() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeAlias.kt")
|
||||
public void testMemberTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelClasses.kt")
|
||||
public void testMultipleTopLevelClasses() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClases.kt")
|
||||
public void testNestedClases() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClasesWithFun.kt")
|
||||
public void testNestedClasesWithFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClasses.kt")
|
||||
public void testNestedClasses() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/propertyWithGetterAndSetter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/propertyWithSetter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructor.kt")
|
||||
public void testSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCallAnnotation.kt")
|
||||
public void testSuperCallAnnotation() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCallAnnotation2.kt")
|
||||
public void testSuperCallAnnotation2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClassCall.kt")
|
||||
public void testSuperClassCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superType.kt")
|
||||
public void testSuperType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelExpressionBodyFunWithoutType.kt")
|
||||
public void testTopLevelExpressionBodyFunWithoutType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunWithType.kt")
|
||||
public void testTopLevelFunWithType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelFunWithType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperty.kt")
|
||||
public void testTopLevelProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelUnitFun.kt")
|
||||
public void testTopLevelUnitFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelUnitFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+292
-16
@@ -16,89 +16,365 @@ import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/innerDeclarationsResolve")
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/fileStructure")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SourceInnerDeclarationsResolvePhaseTestGenerated extends AbstractSourceInnerDeclarationsResolvePhaseTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInInnerDeclarationsResolve() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/innerDeclarationsResolve"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInFileStructure() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annonymousClass.kt")
|
||||
public void testAnnonymousClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/annonymousClass.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/annonymousClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/class.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/class2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classMemberProperty.kt")
|
||||
public void testClassMemberProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter.kt")
|
||||
public void testConstructorParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/constructorParameter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameter2.kt")
|
||||
public void testConstructorParameter2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationClassLevel.kt")
|
||||
public void testDanglingAnnotationClassLevel() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationClassLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("danglingAnnotationTopLevel.kt")
|
||||
public void testDanglingAnnotationTopLevel() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationsInPropertyInit.kt")
|
||||
public void testDeclarationsInPropertyInit() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enum.kt")
|
||||
public void testEnum() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/enum.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClass.kt")
|
||||
public void testEnumClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassWithBody.kt")
|
||||
public void testEnumClassWithBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funWithoutTypes.kt")
|
||||
public void testFunWithoutTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/funWithoutTypes.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/funWithoutTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionValueParameter.kt")
|
||||
public void testFunctionValueParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/functionValueParameter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionValueParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionWithImplicitType.kt")
|
||||
public void testFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/functionWithImplicitType.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initBlock.kt")
|
||||
public void testInitBlock() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitFunBody.kt")
|
||||
public void testLambdaInImplicitFunBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdaInImplicitFunBody.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitFunBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInImplicitPropertyBody.kt")
|
||||
public void testLambdaInImplicitPropertyBody() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdaInImplicitPropertyBody.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdaInImplicitPropertyBody.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdasInWithBodyFunction.kt")
|
||||
public void testLambdasInWithBodyFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/lambdasInWithBodyFunction.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambdasInWithBodyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/localClass.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClass2.kt")
|
||||
public void testLocalClass2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localProperty.kt")
|
||||
public void testLocalProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localUnitFunction.kt")
|
||||
public void testLocalUnitFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctions.kt")
|
||||
public void testMemberFunctions() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberProperties.kt")
|
||||
public void testMemberProperties() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeAlias.kt")
|
||||
public void testMemberTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelClasses.kt")
|
||||
public void testMultipleTopLevelClasses() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClases.kt")
|
||||
public void testNestedClases() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClasesWithFun.kt")
|
||||
public void testNestedClasesWithFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClasses.kt")
|
||||
public void testNestedClasses() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/propertyWithGetterAndSetter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithSetter.kt")
|
||||
public void testPropertyWithSetter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/innerDeclarationsResolve/propertyWithSetter.kt");
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructor.kt")
|
||||
public void testSecondaryConstructor() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCallAnnotation.kt")
|
||||
public void testSuperCallAnnotation() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCallAnnotation2.kt")
|
||||
public void testSuperCallAnnotation2() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClassCall.kt")
|
||||
public void testSuperClassCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superType.kt")
|
||||
public void testSuperType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelExpressionBodyFunWithoutType.kt")
|
||||
public void testTopLevelExpressionBodyFunWithoutType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithoutType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunWithType.kt")
|
||||
public void testTopLevelFunWithType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelFunWithType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperty.kt")
|
||||
public void testTopLevelProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelUnitFun.kt")
|
||||
public void testTopLevelUnitFun() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelUnitFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutName.kt")
|
||||
public void testWithoutName() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -103,11 +103,11 @@ internal fun TestGroupSuite.generateFirLowLevelApiTests() {
|
||||
}
|
||||
|
||||
testClass<AbstractSourceInnerDeclarationsResolvePhaseTest> {
|
||||
model("innerDeclarationsResolve")
|
||||
model("fileStructure", pattern = TestGeneratorUtil.KT)
|
||||
}
|
||||
|
||||
testClass<AbstractOutOfContentRootInnerDeclarationsResolvePhaseTest> {
|
||||
model("innerDeclarationsResolve")
|
||||
model("fileStructure", pattern = TestGeneratorUtil.KT)
|
||||
}
|
||||
|
||||
testClass<AbstractSourcePartialRawFirBuilderTestCase> {
|
||||
|
||||
Reference in New Issue
Block a user