From 4706ec9ddd066e75b9a15bf739711b7e59699123 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Tue, 20 Dec 2016 10:38:56 +0700 Subject: [PATCH] Review feedback, part 1 --- .../src/org/jetbrains/kotlin/backend/konan/lower/Autoboxing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/Autoboxing.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/Autoboxing.kt index 787f738ce4a..262745c1b42 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/Autoboxing.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/lower/Autoboxing.kt @@ -72,7 +72,7 @@ private class AutoboxingTransformer(val context: Context) : AbstractValueUsageTr return if (operator == IrTypeOperator.IMPLICIT_COERCION_TO_UNIT) { this } else { - // Codegen expects the argument of type-checking operator to be object reference: + // Codegen expects the argument of type-checking operator to be an object reference: this.useAs(builtIns.nullableAnyType) } }