JVM: support -Xjdk-release=7/1.7

#KT-59098 Fixed
This commit is contained in:
Alexander Udalov
2024-02-14 14:20:31 +01:00
committed by Space Team
parent 12f393791b
commit 90ff8f0e64
6 changed files with 35 additions and 2 deletions
@@ -0,0 +1,4 @@
compiler/testData/cli/jvm/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
fun stream() = java.util.stream.Stream.of(42)
^^^^^^
COMPILATION_ERROR