Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant @OptIn of experimental annotations #4922

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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