Skip to content

Commit

Permalink
Remove redundant @OptIn of experimental annotations
Browse files Browse the repository at this point in the history
## Proposed Change

Remove the annotation usage of ExperimentalComposeWebAPI from html core and integeration-core modules as this is no longer required

## Issues Fixed

Fixes: JetBrains#3364
  • Loading branch information
SnehangshuChakraborty committed Jun 3, 2024
1 parent fc90219 commit c09ad1f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ fun RadioGroup(
@ExperimentalComposeWebApi
class RadioGroupScope<T> internal constructor()

@OptIn(ExperimentalComposeWebApi::class)
private val radioGroupScopeImpl = RadioGroupScope<Any>()

private var generatedRadioGroupNamesCounter = 0
Expand Down
2 changes: 0 additions & 2 deletions html/core/src/jsTest/kotlin/elements/ElementsTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class ElementsTests {
}

@Test
@OptIn(ExperimentalComposeWebApi::class)
fun rawCreation() = runTest {
@Composable
fun CustomElement(
Expand Down Expand Up @@ -155,7 +154,6 @@ class ElementsTests {
}

@Test
@OptIn(ExperimentalComposeWebApi::class)
fun rawCreationAndTagChanges() = runTest {
@Composable
fun CustomElement(
Expand Down
1 change: 0 additions & 1 deletion html/core/src/jsTest/kotlin/elements/RadioGroupTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import org.w3c.dom.HTMLInputElement
import kotlin.test.Test
import kotlin.test.assertEquals

@OptIn(ExperimentalComposeWebApi::class)
class RadioGroupTests {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import org.jetbrains.compose.web.sample.tests.testCase

class RadioGroupTestCases {

@OptIn(ExperimentalComposeWebApi::class)
val radioGroupItemsCanBeChecked by testCase {
var checked by remember { mutableStateOf("None") }

Expand All @@ -34,7 +33,6 @@ class RadioGroupTestCases {
}
}

@OptIn(ExperimentalComposeWebApi::class)
val twoRadioGroupsChangedIndependently by testCase {
var checked1 by remember { mutableStateOf("None") }
var checked2 by remember { mutableStateOf("None") }
Expand Down

0 comments on commit c09ad1f

Please sign in to comment.