[Test] Reproduce KT-65937
This commit is contained in:
committed by
Space Team
parent
cc2dcf0078
commit
3bf0a11ced
+10
-1
@@ -39,5 +39,14 @@ FILE: selfReferentialAnnotation.kt
|
||||
|
||||
}
|
||||
public final fun box(): R|kotlin/String| {
|
||||
^box String(OK)
|
||||
lval result: R|kotlin/String| = Q|MyRequiresOptIn.MyLevel|.R|/MyRequiresOptIn.MyLevel.values*s|().R|kotlin/collections/joinToString|<R|MyRequiresOptIn.MyLevel|>()
|
||||
^box when (R|<local>/result|) {
|
||||
==($subj$, String(WARNING, ERROR)) -> {
|
||||
String(OK)
|
||||
}
|
||||
else -> {
|
||||
<strcat>(String(Fail: ), R|<local>/result|)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user