[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FILE: invokeInWhenSubjectVariableInitializer.kt
|
||||
public final fun test(func: R|() -> kotlin/String?|): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/String| = when (lval <elvis>: R|kotlin/String?| = R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/String?|>|()) {
|
||||
==($subj$, Null(null)) -> {
|
||||
String()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<elvis>|
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user