Restore KotlinCompilerVersion.IS_PRE_RELEASE

This commit is a slightly modified revert of 4f29c113.
IS_PRE_RELEASE allows to make LATEST_STABLE version behave as
experimental when this flag is set to true.
The general goal is to prepare fix of KT-62058; after this commit
one can do it by changing IS_PRE_RELEASE flag to true.
The fix of KT-62058 is planned to be done during bootstrapping.
This preparation and the future fix are parts of umbrella KT-61951.
This commit is contained in:
Mikhail Glukhikh
2023-09-20 15:45:08 +02:00
committed by Space Team
parent 850201a65c
commit 156097fe17
13 changed files with 152 additions and 12 deletions
@@ -0,0 +1,5 @@
package a
class A
fun A.foo() = ""
@@ -0,0 +1,7 @@
package usage
import a.*
fun baz(param: A) {
param.foo()
}
@@ -0,0 +1,8 @@
package usage
import a.*
fun baz(param: A): A {
foo()
return param
}