JVM_IR KT-50193 remove temporary variable in argument null check

This commit is contained in:
Dmitry Petrov
2021-12-13 17:16:33 +03:00
committed by TeamCityServer
parent 34c70ea04e
commit 42dd8aa12d
5 changed files with 65 additions and 0 deletions
@@ -4663,6 +4663,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
public void testNoAssertionsForKotlin() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/notNullAssertions/noAssertionsForKotlin.kt");
}
@Test
@TestMetadata("noTemporaryVariableInNullCheckOnExpression.kt")
public void testNoTemporaryVariableInNullCheckOnExpression() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/notNullAssertions/noTemporaryVariableInNullCheckOnExpression.kt");
}
}
@Nested