Skip to content

Commit

Permalink
[Tests] Drop tests using isInitialized on a property from another file
Browse files Browse the repository at this point in the history
In 1.9 `lateinit` access behavior was unified across JVM, JS, and Native
with
`NativeJsProhibitLateinitIsInitializedIntrinsicWithoutPrivateAccess`.
Recent lowerings changes now modify `lateinit` declarations outside
their file, causing validation errors on Native. Since Native became
stable in 1.9.20 and for stable Native disabling old features is not
supported, these tests can be dropped for Native.

^KT-71141 Fixed
  • Loading branch information
francescoo22 authored and qodana-bot committed Nov 19, 2024
1 parent 455b127 commit 9809230
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 71 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// LANGUAGE: -NativeJsProhibitLateinitIsInitializedIntrinsicWithoutPrivateAccess
// WITH_STDLIB
// On JVM, isInitialized on a property from another file is forbidden because lateinit-ness is not included in the an ABI of a property.
// IGNORE_BACKEND_K1: JVM, JVM_IR
// Native became stable in 1.9.20 while `NativeJsProhibitLateinitIsInitializedIntrinsicWithoutPrivateAccess` was introduced in 1.9. Disabling old features in stable Native is not supported.
// IGNORE_BACKEND_K1: JVM, JVM_IR, NATIVE
// In K2, isInitialized on a property from another file is forbidden for all backends.
// IGNORE_BACKEND_K2: ANY
// IGNORE_LIGHT_ANALYSIS
Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9809230

Please sign in to comment.