File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
compiler-plugin/compiler-plugin-backend/src/main/kotlin/kotlinx/rpc/codegen/extension Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -1822,20 +1822,7 @@ internal class RpcStubGenerator(
1822
1822
check(expression.type == ifNull.type || ifNull.type == ctx.irBuiltIns.nothingType) {
1823
1823
" Type mismatch: ${expression.type.dumpKotlinLike()} != ${ifNull.type.dumpKotlinLike()} "
1824
1824
}
1825
- // BLOCK type=kotlin.Int origin=ELVIS
1826
- // VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int? [val]
1827
- // GET_VAR 'val some: kotlin.Int? declared in <root>.test' type=kotlin.Int? origin=null
1828
- // WHEN type=kotlin.Int origin=null
1829
- // BRANCH
1830
- // if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
1831
- // ARG arg0: GET_VAR 'val tmp_0: kotlin.Int? declared in <root>.test' type=kotlin.Int? origin=null
1832
- // ARG arg1: CONST Null type=kotlin.Nothing? value=null
1833
- // then: THROW type=kotlin.Nothing
1834
- // CONSTRUCTOR_CALL 'public constructor <init> (p0: @[FlexibleNullability] kotlin.String?) declared in java.lang.IllegalStateException' type=java.lang.IllegalStateException origin=null
1835
- // ARG p0: CONST String type=kotlin.String value="some is null"
1836
- // BRANCH
1837
- // if: CONST Boolean type=kotlin.Boolean value=true
1838
- // then: GET_VAR 'val tmp_0: kotlin.Int? declared in <root>.test' type=kotlin.Int? origin=null
1825
+
1839
1826
return irBlock(origin = IrStatementOrigin .ELVIS , resultType = expression.type.makeNotNull()) {
1840
1827
val temp = irTemporary(
1841
1828
value = expression,
You can’t perform that action at this time.
0 commit comments