Minor: add reference to language design issue

This commit is contained in:
Dmitry Petrov
2019-12-26 10:31:12 +03:00
parent 2dd8727baf
commit 08454aa47e

View File

@@ -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.*