Update nullability assertion tests that use newer Java features

This commit is contained in:
Dmitry Petrov
2019-12-27 18:14:20 +03:00
parent d622542824
commit 0e4e5ac287
17 changed files with 17 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// JVM_TARGET: 1.8
// 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