Fix default value for api version string in IC meta info file
This commit is contained in:
@@ -66,7 +66,7 @@ fun JvmBuildMetaInfo(args: CommonCompilerArguments): JvmBuildMetaInfo {
|
|||||||
isEAP = languageVersion.isPreRelease(),
|
isEAP = languageVersion.isPreRelease(),
|
||||||
compilerBuildVersion = KotlinCompilerVersion.VERSION,
|
compilerBuildVersion = KotlinCompilerVersion.VERSION,
|
||||||
languageVersionString = languageVersion.versionString,
|
languageVersionString = languageVersion.versionString,
|
||||||
apiVersionString = args.apiVersion ?: ApiVersion.LATEST_STABLE.versionString,
|
apiVersionString = args.apiVersion ?: languageVersion.versionString,
|
||||||
coroutinesEnable = args.coroutinesState == CommonCompilerArguments.ENABLE,
|
coroutinesEnable = args.coroutinesState == CommonCompilerArguments.ENABLE,
|
||||||
coroutinesWarn = args.coroutinesState == CommonCompilerArguments.WARN,
|
coroutinesWarn = args.coroutinesState == CommonCompilerArguments.WARN,
|
||||||
coroutinesError = args.coroutinesState == CommonCompilerArguments.ERROR,
|
coroutinesError = args.coroutinesState == CommonCompilerArguments.ERROR,
|
||||||
|
|||||||
Reference in New Issue
Block a user