[FIR] generate testdata for RawFirBuilderLazyBodiesTestCase for newly added tests

This commit is contained in:
Ilya Kirillov
2022-08-09 14:23:36 +02:00
parent 1c28eef82a
commit 531236ce16
8 changed files with 36 additions and 0 deletions
@@ -0,0 +1,2 @@
FILE: noParameterTypRefInCatch.kt
public? final? fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
@@ -0,0 +1,2 @@
FILE: noParameterTypRefInFuncionalType.kt
public? final? fun x(p: ( (a) -> Int )): R|kotlin/Unit| { LAZY_BLOCK }
@@ -0,0 +1,2 @@
FILE: noParameterTypRefInFunction.kt
public? final? fun foo(x: <ERROR TYPE REF: No type for parameter>): R|kotlin/Unit| { LAZY_BLOCK }
@@ -0,0 +1,2 @@
FILE: noParameterTypRefInLambda.kt
public? final? fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
@@ -0,0 +1,7 @@
FILE: noParameterTypRefInPrimaryConstructor.kt
public? final? class X : R|kotlin/Any| {
public? constructor(x: <ERROR TYPE REF: No type for parameter>): R|X| {
super<R|kotlin/Any|>()
}
}
@@ -0,0 +1,10 @@
FILE: noParameterTypRefInPrimaryConsturctorVal.kt
public? final? class X : R|kotlin/Any| {
public? constructor(x: <ERROR TYPE REF: No type for parameter>): R|X| {
super<R|kotlin/Any|>()
}
public? final? val x: <ERROR TYPE REF: No type for parameter> = R|<local>/x|
public? get(): <ERROR TYPE REF: No type for parameter>
}
@@ -0,0 +1,7 @@
FILE: noParameterTypRefInSecondaryConstructor.kt
public? final? class C : R|kotlin/Any| {
public? constructor(x: <ERROR TYPE REF: No type for parameter>): R|C| {
super<R|kotlin/Any|>()
}
}
@@ -0,0 +1,4 @@
FILE: noParameterTypRefInSetter.kt
public? final? var x: Int
public? get(): Int
public? set(value: Int): R|kotlin/Unit| { LAZY_BLOCK }