Skip to content

Commit

Permalink
Add a workaround for compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Feb 8, 2025
1 parent a82c080 commit e40d7d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ktor-test-server/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

plugins {
Expand Down Expand Up @@ -33,4 +33,10 @@ dependencies {
// Should be synced with gradle/gradle-daemon-jvm.properties
kotlin {
jvmToolchain(21)

compilerOptions {
// A workaround for a compiler issue KT-74984
// TODO: Remove after the issue is fixed
freeCompilerArgs.add("-Xignore-const-optimization-errors")
}
}

0 comments on commit e40d7d6

Please sign in to comment.