FIR: pass elvis expected type to lhs/rhs

This commit is contained in:
Jinseong Jeon
2020-12-04 11:26:09 -08:00
committed by Mikhail Glukhikh
parent 41f56729f9
commit 8f2ad57f7a
5 changed files with 37 additions and 39 deletions
@@ -1,5 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface PsiElement {
fun <T: PsiElement> findChildByType(i: Int): T? =
if (i == 42) JetOperationReferenceExpression() as T else throw Exception()