JVM: allow -jvm-target 1.8 with -Xjdk-release=1.6
#KT-59098
This commit is contained in:
committed by
Space Team
parent
1bc08fc5b8
commit
12f393791b
@@ -0,0 +1,7 @@
|
||||
compiler/testData/cli/jvm/jdkRelease.kt:3:22: error: unresolved reference 'file'.
|
||||
fun path(): java.nio.file.Path? = null
|
||||
^^^^
|
||||
compiler/testData/cli/jvm/jdkRelease.kt:5:26: error: unresolved reference 'stream'.
|
||||
fun stream() = java.util.stream.Stream.of(42)
|
||||
^^^^^^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user