Skip to content

Commit 915ecd0

Browse files
authored
fix build warnings (#92)
2 parents 86c72ad + 54800c6 commit 915ecd0

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

‎gradle.properties‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ android.nonTransitiveRClass=true
2424

2525
org.gradle.caching=true
2626
org.gradle.configuration-cache=true
27-
org.gradle.configureondemand=true
2827
org.gradle.daemon=true
2928
org.gradle.daemon.idletimeout=10800000
3029
org.gradle.parallel=true

‎simplemvi/src/commonMain/kotlin/com/arttttt/simplemvi/actor/delegated/DelegatedActor.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class DelegatedActor<Intent : Any, State : Any, SideEffect : Any>(
7070
val handler = intentHandlers[intent::class] ?: throw IllegalArgumentException("intent handler not found for $intent")
7171

7272
@Suppress("UNCHECKED_CAST")
73-
with(handler as IntentHandler<Intent, State, SideEffect, Any>) {
73+
with(handler as IntentHandler<Intent, State, SideEffect, Intent>) {
7474
actorScope.handle(intent)
7575
}
7676
}

‎simplemvi/src/commonMain/kotlin/com/arttttt/simplemvi/config/ConfigDsl.kt‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ import com.arttttt.simplemvi.logging.logger.DefaultLogger
99
internal var simpleMVIConfig: SimpleMVIConfig = DefaultSimpleMVIConfig()
1010
private set
1111

12-
/**
13-
* DSL marker annotation for SimpleMVI configuration
14-
*
15-
* This annotation ensures proper scoping of the configuration DSL
16-
* and prevents nested configuration blocks.
17-
*/
18-
@DslMarker
19-
public annotation class SimpleMVIConfigDsl
20-
2112
/**
2213
* Configures SimpleMVI global behavior
2314
*
@@ -57,7 +48,6 @@ public annotation class SimpleMVIConfigDsl
5748
* @see SimpleMVIConfig
5849
* @see SimpleMVIConfigBuilder
5950
*/
60-
@SimpleMVIConfigDsl
6151
public fun configureSimpleMVI(block: SimpleMVIConfigBuilder.() -> Unit) {
6252
val builder = SimpleMVIConfigBuilder()
6353
builder.apply(block)
@@ -73,7 +63,6 @@ public fun configureSimpleMVI(block: SimpleMVIConfigBuilder.() -> Unit) {
7363
* @see configureSimpleMVI
7464
* @see SimpleMVIConfig
7565
*/
76-
@SimpleMVIConfigDsl
7766
public class SimpleMVIConfigBuilder {
7867
/**
7968
* Defines the error handling mode for the library.

0 commit comments

Comments
 (0)