Skip to content

Commit 36e9d43

Browse files
committed
Remove unused comment
1 parent cdcb69b commit 36e9d43

File tree

1 file changed

+1
-14
lines changed
  • compiler-plugin/compiler-plugin-backend/src/main/kotlin/kotlinx/rpc/codegen/extension

1 file changed

+1
-14
lines changed

compiler-plugin/compiler-plugin-backend/src/main/kotlin/kotlinx/rpc/codegen/extension/RpcStubGenerator.kt

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,20 +1822,7 @@ internal class RpcStubGenerator(
18221822
check(expression.type == ifNull.type || ifNull.type == ctx.irBuiltIns.nothingType) {
18231823
"Type mismatch: ${expression.type.dumpKotlinLike()} != ${ifNull.type.dumpKotlinLike()}"
18241824
}
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+
18391826
return irBlock(origin = IrStatementOrigin.ELVIS, resultType = expression.type.makeNotNull()) {
18401827
val temp = irTemporary(
18411828
value = expression,

0 commit comments

Comments
 (0)