Skip to content

Commit 8612d37

Browse files
authored
Workaround for KT-66317 (#299)
1 parent 870e96f commit 8612d37

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

bytestring/jvm/src/-PlatformJvm.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
3+
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
4+
*/
5+
6+
package kotlinx.io.bytestring
7+
8+
// Incremental compilation doesn't work smoothly with OptionalExpectation (see KT-66317),
9+
// so we have to explicitly actualize the annotation.
10+
@Target(AnnotationTarget.FIELD)
11+
internal actual annotation class BenignDataRace actual constructor()
12+

0 commit comments

Comments
 (0)