From 08454aa47e8c6306797c10af219d286f4741560a Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Thu, 26 Dec 2019 10:31:12 +0300 Subject: [PATCH] Minor: add reference to language design issue --- .../javaInterop/javaCollectionOfExplicitNotNullFailFast.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNullFailFast.kt b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNullFailFast.kt index 13d6e45fcac..19614f5a24c 100644 --- a/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNullFailFast.kt +++ b/compiler/testData/codegen/box/ranges/javaInterop/javaCollectionOfExplicitNotNullFailFast.kt @@ -7,6 +7,7 @@ // Note: This fails on JVM (non-IR) with "Fail: should throw on get() in loop header". The not-null assertion is not generated when // assigning to the loop variable. The root cause seems to be that the loop variable is a KtParameter and // CodegenAnnotatingVisitor/RuntimeAssertionsOnDeclarationBodyChecker do not analyze the need for not-null assertions on KtParameters. +// See KT-35698. // FILE: box.kt import kotlin.test.*